return everySSCPos("blssc");
}
public static List<String> everySSCPos(String type) {
List<String> resList = new ArrayList<String>();
XmlUtils utils = new XmlUtils();
Map<Integer, Map<Integer, Integer>> posMap = new HashMap<Integer, Map<Integer, Integer>>();
Map<Integer, Integer> dataMap1 = new HashMap<Integer, Integer>();
Map<Integer, Integer> dataMap2 = new HashMap<Integer, Integer>();
Map<Integer, Integer> dataMap3 = new HashMap<Integer, Integer>();
Map<Integer, Integer> dataMap4 = new HashMap<Integer, Integer>();
Map<Integer, Integer> dataMap5 = new HashMap<Integer, Integer>();
Map<Integer, Map<String, Integer>> posdxMap = new HashMap<Integer, Map<String, Integer>>();
Map<Integer, Map<Integer, Integer>> posNumMap = new HashMap<Integer, Map<Integer, Integer>>();
//万、千、百、十、个
Map<Integer, Integer> posNum0 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posNum1 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posNum2 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posNum3 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posNum4 = new HashMap<Integer, Integer>();
//万、千、百、十、个 最大遗漏
Map<Integer, Integer> posMaxNum0 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posMaxNum1 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posMaxNum2 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posMaxNum3 = new HashMap<Integer, Integer>();
Map<Integer, Integer> posMaxNum4 = new HashMap<Integer, Integer>();
//大小历史
Map<Integer, String> dxHistory = new HashMap<Integer, String>();
Map<Integer, Integer> temp = null;
for (int i = 1; i <= 5; i++) {
posdxMap.put(i, initDXMap());
dxHistory.put(i, "");
temp = new HashMap<Integer, Integer>();
for (int j = 0; j <= 9; j++) {
temp.put(j, 0);
}
posNumMap.put(i, temp);
}
Map<Integer, Integer> first2 = new HashMap<Integer, Integer>();
Map<Integer, Integer> first4 = new HashMap<Integer, Integer>();
Map<Integer, Integer> first5 = new HashMap<Integer, Integer>();
Map<Integer, Integer> first3 = new HashMap<Integer, Integer>();
Map<Integer, Integer> mid3 = new HashMap<Integer, Integer>();
Map<Integer, Integer> last3 = new HashMap<Integer, Integer>();
Map<Integer, Integer> row2 = new HashMap<Integer, Integer>();
Map<Integer, Integer> row3 = new HashMap<Integer, Integer>();
Map<Integer, Integer> row4 = new HashMap<Integer, Integer>();
Map<Integer, Integer> row5 = new HashMap<Integer, Integer>();
//最大遗漏
Map<Integer, Integer> maxOmit = new HashMap<Integer, Integer>();
//当前遗漏
Map<Integer, Integer> currentOmit = new HashMap<Integer, Integer>();
Map<Integer, String> omitHistory = new HashMap<Integer, String>();
temp = new HashMap<Integer, Integer>();
for (int i = 0; i <= 9; i++) {
omitHistory.put(i, "");
temp.put(i, 0);
}
first2.putAll(temp);
mid3.putAll(temp);
first3.putAll(temp);
last3.putAll(temp);
first4.putAll(temp);
first5.putAll(temp);
dataMap1.putAll(temp);
dataMap2.putAll(temp);
dataMap3.putAll(temp);
dataMap4.putAll(temp);
dataMap5.putAll(temp);
row2.putAll(temp);
row3.putAll(temp);
row4.putAll(temp);
row5.putAll(temp);
maxOmit.putAll(temp);
currentOmit.putAll(temp);
posNum0.putAll(temp);
posNum1.putAll(temp);
posNum2.putAll(temp);
posNum3.putAll(temp);
posNum4.putAll(temp);
posMaxNum0.putAll(temp);
posMaxNum1.putAll(temp);
posMaxNum2.putAll(temp);
posMaxNum3.putAll(temp);
posMaxNum4.putAll(temp);
//万、千、百、十、个
// int posNum1=0,posNum2=0,posNum3=0,posNum4=0,posNum5=0;
List<DataItem> list = new ArrayList<DataItem>();
String today = new SimpleDateFormat("yyyyMMdd").format(new Date());
try {
org.dom4j.Document root = utils.getDocumentComm(Config.DATA_FILE_PATH + type +".xml");
Element rootEl = root.getRootElement();
Iterator<Element> it = rootEl.elementIterator();
Element el;
DataItem item1;
while (it.hasNext()) {