Commit 82f3f5fb authored by dahai's avatar dahai

push

parent 322c0c9a
...@@ -74,7 +74,7 @@ public interface FailedCardMapper { ...@@ -74,7 +74,7 @@ public interface FailedCardMapper {
@Select("select prod_card_t.accept_no,subStr(prod_card_t.UPLOAD_NO,0,6) as COUNTY_CODE,task.CARD_TYPE\n" + @Select("select prod_card_t.accept_no,subStr(prod_card_t.UPLOAD_NO,0,6) as COUNTY_CODE,task.CARD_TYPE\n" +
" ,task.work_gruop from prod_card_t@prod_link\n" + " ,task.work_group from prod_card_t@prod_link\n" +
"left join group_no on subStr(prod_card_t.ACCEPT_NO,0,8)=group_no.group_no "+ "left join group_no on subStr(prod_card_t.ACCEPT_NO,0,8)=group_no.group_no "+
"left join task on group_no.task_id = task.task_id "+ "left join task on group_no.task_id = task.task_id "+
"where prod_card_t.accept_no=#{acceptNo} or prod_card_t.ID_NO=#{acceptNo}") "where prod_card_t.accept_no=#{acceptNo} or prod_card_t.ID_NO=#{acceptNo}")
......
...@@ -1230,6 +1230,7 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -1230,6 +1230,7 @@ public class TaskListServiceImpl implements TaskListService {
String countyName = null; String countyName = null;
String countyCode = null; String countyCode = null;
Object submitDate = null; Object submitDate = null;
String workGroup = 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");
...@@ -1241,6 +1242,7 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -1241,6 +1242,7 @@ public class TaskListServiceImpl implements TaskListService {
validCount += Integer.valueOf(countyMap.get("VALID_COUNT") + ""); validCount += Integer.valueOf(countyMap.get("VALID_COUNT") + "");
invalidCount += Integer.valueOf(countyMap.get("INVALID_COUNT") + ""); invalidCount += Integer.valueOf(countyMap.get("INVALID_COUNT") + "");
specialCount += Integer.valueOf(countyMap.get("SPECIAL_CARD_COUNT") + ""); specialCount += Integer.valueOf(countyMap.get("SPECIAL_CARD_COUNT") + "");
workGroup = countyMap.get("WORK_GROUP") + "";
} }
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"));
...@@ -1271,6 +1273,7 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -1271,6 +1273,7 @@ public class TaskListServiceImpl implements TaskListService {
countyMapGroup.put("countyName", countyName); countyMapGroup.put("countyName", countyName);
countyMapGroup.put("countyValidCount", validCount); countyMapGroup.put("countyValidCount", validCount);
countyMapGroup.put("countyInvalidCount", invalidCount); countyMapGroup.put("countyInvalidCount", invalidCount);
countyMapGroup.put("workGroup",workGroup);
countyList.add(countyMapGroup); countyList.add(countyMapGroup);
} }
mapType.put("typeCode", typeName); mapType.put("typeCode", typeName);
......
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
<th>合格数量</th> <th>合格数量</th>
<th>不合格数量</th> <th>不合格数量</th>
<th>特殊证件数量</th> <th>特殊证件数量</th>
<th>工作组</th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
...@@ -140,6 +141,8 @@ ...@@ -140,6 +141,8 @@
<td class="mailbox-attachment">{{task.countyValidCount}}</td> <td class="mailbox-attachment">{{task.countyValidCount}}</td>
<td class="mailbox-date">{{task.countyInvalidCount}}</td> <td class="mailbox-date">{{task.countyInvalidCount}}</td>
<td class="mailbox-date">{{task.specialCount}}</td> <td class="mailbox-date">{{task.specialCount}}</td>
<td class="mailbox-attachment text-red" ng-if="task.workGroup==1">A组</td>
<td class="mailbox-attachment text-green" ng-if="task.workGroup==2">B组</td>
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td> <td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td>
</tr> </tr>
<tr ng-if="task.taskId==taskId"> <tr ng-if="task.taskId==taskId">
......
...@@ -149,7 +149,8 @@ ...@@ -149,7 +149,8 @@
<td class="mailbox-subject">{{task.countyValidCount}}</td> <td class="mailbox-subject">{{task.countyValidCount}}</td>
<td class="mailbox-subject">{{task.countyValidCount-task.specialCount}}</td> <td class="mailbox-subject">{{task.countyValidCount-task.specialCount}}</td>
<td class="mailbox-attachment">{{task.specialCount}}</td> <td class="mailbox-attachment">{{task.specialCount}}</td>
<td class="mailbox-attachment">{{task.workGroup}}</td> <td class="mailbox-attachment text-red" ng-if="task.workGroup==1">A组</td>
<td class="mailbox-attachment text-green" ng-if="task.workGroup==2">B组</td>
<td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td> <td class="mailbox-date"><a ng-click="getPoliceList(task.groupList,task.taskId)">组号列表</a></td>
</tr> </tr>
<tr ng-if="task.taskId==taskId"> <tr ng-if="task.taskId==taskId">
......
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