Commit 21f8838c authored by dahai's avatar dahai

push

parent eeef6787
...@@ -614,15 +614,14 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -614,15 +614,14 @@ public class TaskListServiceImpl implements TaskListService {
int specialCount=0; int specialCount=0;
int eWriteCount=0; int eWriteCount=0;
int faileCount=0; int faileCount=0;
int policeCount =0; String countyName =null;
String countyCode =null;
Object submitDate = null; Object submitDate = null;
String policeCode =null;
String policeName = null;
List<Map<String, Object>> countyMapList = mapList.get(taskId); List<Map<String, Object>> countyMapList = mapList.get(taskId);
for (Map<String,Object> countyMap:countyMapList){ for (Map<String,Object> countyMap:countyMapList){
submitDate = countyMap.get("SUBMIT_DATE"); submitDate = countyMap.get("SUBMIT_DATE");
policeCode = countyMap.get("POLICE_CODE")+""; countyCode = countyMap.get("COUNTY_CODE")+"";
policeName = countyMap.get("GAMC")+""; countyName = countyMap.get("COUNTYNAME")+"";
typeName = countyMap.get("CARD_TYPE_ID") + ""; typeName = countyMap.get("CARD_TYPE_ID") + "";
typeSum+=Integer.valueOf(countyMap.get("VALID_COUNT") + ""); typeSum+=Integer.valueOf(countyMap.get("VALID_COUNT") + "");
typeSum-=Integer.valueOf(countyMap.get("SPECIAL_CARD_COUNT") + ""); typeSum-=Integer.valueOf(countyMap.get("SPECIAL_CARD_COUNT") + "");
...@@ -631,7 +630,6 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -631,7 +630,6 @@ public class TaskListServiceImpl implements TaskListService {
specialCount+=Integer.valueOf(countyMap.get("SPECIAL_CARD_COUNT") + ""); specialCount+=Integer.valueOf(countyMap.get("SPECIAL_CARD_COUNT") + "");
faileCount+=Integer.valueOf(countyMap.get("FAILECOUNT") + ""); faileCount+=Integer.valueOf(countyMap.get("FAILECOUNT") + "");
eWriteCount+=Integer.valueOf(countyMap.get("E_WRITER_COUNT") + ""); eWriteCount+=Integer.valueOf(countyMap.get("E_WRITER_COUNT") + "");
policeCount+=Integer.valueOf(countyMap.get("POLICE_COUNT") + "");
} }
if (countyMapList.size()==1){ if (countyMapList.size()==1){
countyMapGroup.put("groupNum",countyMapList.get(0).get("GROUP_NO")); countyMapGroup.put("groupNum",countyMapList.get(0).get("GROUP_NO"));
...@@ -656,21 +654,20 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -656,21 +654,20 @@ public class TaskListServiceImpl implements TaskListService {
} }
countyMapGroup.put("faileCount",faileCount); countyMapGroup.put("faileCount",faileCount);
countyMapGroup.put("specialCount",specialCount); countyMapGroup.put("specialCount",specialCount);
countyMapGroup.put("policeCode",policeCode); countyMapGroup.put("countyCode",countyCode);
countyMapGroup.put("taskId",taskId); countyMapGroup.put("taskId",taskId);
countyMapGroup.put("groupList",countyMapList); countyMapGroup.put("groupList",countyMapList);
countyMapGroup.put("saveDate",submitDate); countyMapGroup.put("saveDate",submitDate);
countyMapGroup.put("policeName",policeName); countyMapGroup.put("countyName",countyName);
countyMapGroup.put("eWriteCount",eWriteCount); countyMapGroup.put("eWriteCount",eWriteCount);
countyMapGroup.put("countyValidCount",validCount); countyMapGroup.put("countyValidCount",validCount);
countyMapGroup.put("countyInvalidCount",invalidCount); countyMapGroup.put("countyInvalidCount",invalidCount);
countyMapGroup.put("policeCount",policeCount);
countyList.add(countyMapGroup); countyList.add(countyMapGroup);
} }
mapType.put("typeCode",typeName); mapType.put("typeCode",typeName);
mapType.put("typeSum",typeSum ); mapType.put("typeSum",typeSum );
mapType.put("typeName", type); mapType.put("typeName", type);
mapType.put("policeList",countyList); mapType.put("countyList",countyList);
typeList.add(mapType); typeList.add(mapType);
} }
return typeList; return typeList;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment