Commit 846f359e authored by dahai's avatar dahai

Merge remote-tracking branch 'origin/dev' into dev

parents 8a6d0627 c202c31a
...@@ -76,15 +76,11 @@ public class FailedCardApi { ...@@ -76,15 +76,11 @@ public class FailedCardApi {
//判断是否是特殊证件 //判断是否是特殊证件
if (result != null &&result!="") { if (result != null &&result!="") {
idMap = failedCardService.selectDataById(jsonObject.getString("cardId")); idMap = failedCardService.selectDataById(jsonObject.getString("cardId"));
} else { } else {
idMap = failedCardService.selectCountIdByCardId(jsonObject.getString("cardId")); idMap = failedCardService.selectCountIdByCardId(jsonObject.getString("cardId"));
} }
int initiator = Integer.parseInt(jsonObject.getString("initiator")) - 2; int initiator = Integer.parseInt(jsonObject.getString("initiator")) - 2;
failedCardService.insertFailedCard(jsonObject.getString("failedCardReasonId"), idMap.get("ACCEPT_NO").toString(), idMap.get("TASK_ID").toString(), String.valueOf(initiator), jsonObject.getString("note")); failedCardService.insertFailedCard(jsonObject.getString("failedCardReasonId"), idMap.get("ACCEPT_NO").toString(), idMap.get("TASK_ID").toString(), String.valueOf(initiator), jsonObject.getString("note"));
} }
return true; return true;
} }
......
...@@ -29,8 +29,10 @@ public interface FailedCardMapper { ...@@ -29,8 +29,10 @@ public interface FailedCardMapper {
*/ */
@Select("SELECT PROD_CARD_T.NAME,\n" + @Select("SELECT PROD_CARD_T.NAME,\n" +
"PROD_CARD_T.SEX_NO,\n" + "PROD_CARD_T.SEX_NO,\n" +
"PROD_CARD_T.ID_NO\n" + "PROD_CARD_T.ID_NO,\n" +
"SPECIAL_CARD.SPECIAL_TYPE\n "+
"FROM PROD_CARD_T@PROD_LINK\n" + "FROM PROD_CARD_T@PROD_LINK\n" +
"left join SPECIAL_CARD on PROD_CARD_T.ACCEPT_NO = SPECIAL_CARD.ACCEPT_NO "+
"WHERE PROD_CARD_T.ID_NO=#{cardId} OR PROD_CARD_T.ACCEPT_NO=#{cardId}") "WHERE PROD_CARD_T.ID_NO=#{cardId} OR PROD_CARD_T.ACCEPT_NO=#{cardId}")
public Map<String,Object>selectInfoByCardId(@Param("cardId")String cardId); public Map<String,Object>selectInfoByCardId(@Param("cardId")String cardId);
...@@ -123,20 +125,20 @@ public interface FailedCardMapper { ...@@ -123,20 +125,20 @@ public interface FailedCardMapper {
public boolean updateFailedState4(FailedCardEntity failedCardEntity); public boolean updateFailedState4(FailedCardEntity failedCardEntity);
/** /**
* 根据身份证号查询是否是特证 * 根据身份证号查询是否是特证
*/ */
@Select("select SPECIAL_CARD_ID from special_card \n" + @Select("select SPECIAL_CARD_ID from special_card \n" +
"left join prod_card_t@PROD_LINK ON PROD_CARD_T.ACCEPT_NO = SPECIAL_CARD.ACCEPT_NO\n" + "left join prod_card_t@PROD_LINK ON PROD_CARD_T.ACCEPT_NO = SPECIAL_CARD.ACCEPT_NO\n" +
"WHERE PROD_CARD_T.ID_NO = #{id} or PROD_CARD_T.ACCEPT_NO=#{id}") " WHERE PROD_CARD_T.ID_NO = #{id} or PROD_CARD_T.ACCEPT_NO=#{id}")
public String selectSpecialCard(String id); public String selectSpecialCard(String id);
/** /**
* 根据特证表添加废证 * 根据特证表添加废证
*/ */
@Select("select ACCEPT_NO,TASK_ID FROM SPECIAL_CARD LEFT JOIN prod_card_t@PROD_LINK ON PROD_CARD_T.ACCEPT_NO = SPECIAL_CARD.ACCEPT_NO" + @Select("select SPECIAL_CARD.ACCEPT_NO,SPECIAL_CARD.TASK_ID FROM SPECIAL_CARD LEFT JOIN prod_card_t@PROD_LINK ON PROD_CARD_T.ACCEPT_NO = SPECIAL_CARD.ACCEPT_NO" +
"WHERE PROD_CARD_T.ID_NO=#{id} or PROD_CARD_T.ACCEPT_NO=#{id}") " WHERE PROD_CARD_T.ID_NO=#{id} or PROD_CARD_T.ACCEPT_NO=#{id}")
public Map<String,Object>selectDataById(String id); public Map<String,Object>selectDataById(String id);
} }
...@@ -61,15 +61,15 @@ ...@@ -61,15 +61,15 @@
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>保存日期</th> <th>保存日期</th>
<th>地区</th> <th><a ng-click="countyCode='countyCode';desc=!desc">地区</a></th>
<th>组数</th> <th>组数</th>
<th>受理组号</th> <th><a ng-click="countyCode='groupNum';desc=!desc">受理组号</a></th>
<th>合格数量</th> <th>合格数量</th>
<th>不合格数量</th> <th>不合格数量</th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody ng-repeat="task in type.countyList"> <tbody ng-repeat="task in type.countyList| orderBy:countyCode:desc">
<tr> <tr>
<td><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.valid}}" ng-click="updateSelection($event,task)"></td> <td><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.valid}}" ng-click="updateSelection($event,task)"></td>
<td class="mailbox-star"><b>{{task.saveDate | date:'yyyy-MM-dd'}}</b></td> <td class="mailbox-star"><b>{{task.saveDate | date:'yyyy-MM-dd'}}</b></td>
......
...@@ -11,6 +11,10 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm ...@@ -11,6 +11,10 @@ angular.module('AvatarCheck.createTaskList', ['ngRoute', 'AvatarCheck.http', 'tm
.controller('createTaskListCtrl', function ($scope, $rootScope, HttpService, $interval, MessageService, $timeout, $filter, ngDialog) { .controller('createTaskListCtrl', function ($scope, $rootScope, HttpService, $interval, MessageService, $timeout, $filter, ngDialog) {
$scope.desc = 0;
$scope.countyCode = "countyCode";
//Date picker //Date picker
$('#datepicker').datetimepicker({ $('#datepicker').datetimepicker({
minView: "month", //选择日期后,不会再跳转去选择时分秒 minView: "month", //选择日期后,不会再跳转去选择时分秒
......
...@@ -34,10 +34,10 @@ ...@@ -34,10 +34,10 @@
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>任务单编号</th> <th><a ng-click="countyCode='taskId';desc=!desc">任务单编号</a></th>
<th>地区</th> <th><a ng-click="countyCode='countyCode';desc=!desc">地区</a></th>
<th>组数</th> <th>组数</th>
<th>受理组号</th> <th><a ng-click="countyCode='groupNum';desc=!desc">受理组号</a></th>
<th>合格数量</th> <th>合格数量</th>
<th>不合格数量</th> <th>不合格数量</th>
<th>废证数量</th> <th>废证数量</th>
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody ng-repeat="task in type.countyList"> <tbody ng-repeat="task in type.countyList| orderBy:countyCode:desc">
<tr> <tr>
<td><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td> <td><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td>
<td class="mailbox-star"><b>{{task.taskId}}</b></td> <td class="mailbox-star"><b>{{task.taskId}}</b></td>
......
...@@ -11,6 +11,8 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p ...@@ -11,6 +11,8 @@ angular.module('AvatarCheck.dispatchTask', ['ngRoute', 'AvatarCheck.http', 'tm.p
.controller('dispatchTaskCtrl', function ($scope, $rootScope, HttpService, $interval, MessageService, $timeout, $filter, ngDialog) { .controller('dispatchTaskCtrl', function ($scope, $rootScope, HttpService, $interval, MessageService, $timeout, $filter, ngDialog) {
$scope.desc = 0;
$scope.countyCode = "countyCode";
//Date picker //Date picker
$('#datepicker').datetimepicker({ $('#datepicker').datetimepicker({
minView: "month", //选择日期后,不会再跳转去选择时分秒 minView: "month", //选择日期后,不会再跳转去选择时分秒
......
...@@ -31,7 +31,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -31,7 +31,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
.controller('taskListPrintCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) { .controller('taskListPrintCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) {
$scope.desc = 0;
$scope.countyCode = "countyCode";
//Date picker //Date picker
$('#datepicker').datetimepicker({ $('#datepicker').datetimepicker({
minView: "month", //选择日期后,不会再跳转去选择时分秒 minView: "month", //选择日期后,不会再跳转去选择时分秒
...@@ -213,7 +214,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -213,7 +214,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
}) })
.controller('taskListPreLocatingCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) { .controller('taskListPreLocatingCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) {
$scope.desc = 0;
$scope.countyCode = "countyCode";
//Date picker //Date picker
$('#datepicker').datetimepicker({ $('#datepicker').datetimepicker({
...@@ -367,6 +369,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -367,6 +369,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
}) })
.controller('taskListEwritingCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) { .controller('taskListEwritingCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) {
$scope.desc = 0;
$scope.countyCode = "countyCode";
//Date picker //Date picker
$('#datepicker').datetimepicker({ $('#datepicker').datetimepicker({
minView: "month", //选择日期后,不会再跳转去选择时分秒 minView: "month", //选择日期后,不会再跳转去选择时分秒
...@@ -512,6 +516,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http']) ...@@ -512,6 +516,8 @@ angular.module('AvatarCheck.task', ['ngRoute', 'AvatarCheck.http'])
}) })
.controller('taskListSortingCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) { .controller('taskListSortingCtrl', function ($scope, $rootScope, $timeout, HttpService, ngDialog, MessageService, $filter) {
$scope.desc = 0;
$scope.countyCode = "countyCode";
//Date picker //Date picker
$('#datepicker').datetimepicker({ $('#datepicker').datetimepicker({
minView: "month", //选择日期后,不会再跳转去选择时分秒 minView: "month", //选择日期后,不会再跳转去选择时分秒
......
...@@ -34,11 +34,11 @@ ...@@ -34,11 +34,11 @@
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>任务单编号</th> <th><a ng-click="countyCode='taskId';desc=!desc">任务单编号</a></th>
<th>核验日期</th> <th>核验日期</th>
<th>地区</th> <th><a ng-click="countyCode='countyCode';desc=!desc">地区</a></th>
<th>组数</th> <th>组数</th>
<th>组号</th> <th><a ng-click="countyCode='groupNum';desc=!desc">受理组号</a></th>
<th>核验数量</th> <th>核验数量</th>
<th>证件数量</th> <th>证件数量</th>
<th>电写入数量</th> <th>电写入数量</th>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody ng-repeat="task in type.countyList"> <tbody ng-repeat="task in type.countyList | orderBy:countyCode:desc">
<tr> <tr>
<td ng-if="task.faileCount==0"><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td> <td ng-if="task.faileCount==0"><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td>
<td ng-if="task.faileCount>0"></td> <td ng-if="task.faileCount>0"></td>
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>任务单编号</th> <th><a ng-click="countyCode='taskId';desc=!desc">任务单编号</a></th>
<th>核验日期</th> <th>核验日期</th>
<th>地区</th> <th><a ng-click="countyCode='countyCode';desc=!desc">地区</a></th>
<th>组数</th> <th>组数</th>
<th>组号</th> <th><a ng-click="countyCode='groupNum';desc=!desc">受理组号</a></th>
<th>核验数量</th> <th>核验数量</th>
<th>证件数量</th> <th>证件数量</th>
<th>特殊证件数量</th> <th>特殊证件数量</th>
......
...@@ -38,11 +38,11 @@ ...@@ -38,11 +38,11 @@
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>任务单编号</th> <th><a ng-click="countyCode='taskId';desc=!desc">任务单编号</a></th>
<th>核验日期</th> <th>核验日期</th>
<th>地区</th> <th><a ng-click="countyCode='countyCode';desc=!desc">地区</a></th>
<th>组数</th> <th>组数</th>
<th>组号</th> <th><a ng-click="countyCode='groupNum';desc=!desc">受理组号</a></th>
<th>核验数量</th> <th>核验数量</th>
<th>证件数量</th> <th>证件数量</th>
<th>特殊证件数量</th> <th>特殊证件数量</th>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody ng-repeat="task in type.countyList"> <tbody ng-repeat="task in type.countyList | orderBy:countyCode:desc">
<tr> <tr>
<td ng-if="task.faileCount==0"><input type="checkbox" id="checkOneBox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" name="{{task.countyValidCount-task.specialCount}}" ng-click="updateSelection($event,task)"></td> <td ng-if="task.faileCount==0"><input type="checkbox" id="checkOneBox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" name="{{task.countyValidCount-task.specialCount}}" ng-click="updateSelection($event,task)"></td>
<td ng-if="task.faileCount>0"></td> <td ng-if="task.faileCount>0"></td>
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>任务单编号</th> <th><a ng-click="countyCode='taskId';desc=!desc">任务单编号</a></th>
<th>核验日期</th> <th>核验日期</th>
<th>地区</th> <th><a ng-click="countyCode='countyCode';desc=!desc">地区</a></th>
<th>组数</th> <th>组数</th>
<th>组号</th> <th><a ng-click="countyCode='groupNum';desc=!desc">受理组号</a></th>
<th>核验数量</th> <th>核验数量</th>
<th>证件数量</th> <th>证件数量</th>
<th>特殊证件数量</th> <th>特殊证件数量</th>
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody ng-repeat="task in type.countyList"> <tbody ng-repeat="task in type.countyList| orderBy:countyCode:desc">
<tr> <tr>
<td ng-if="task.faileCount==0"><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td> <td ng-if="task.faileCount==0"><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td>
<td ng-if="task.faileCount>0"></td> <td ng-if="task.faileCount>0"></td>
......
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
<thead> <thead>
<tr> <tr>
<th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th> <th><input type="checkbox" ng-click="selectAll(type.countyList,$event)" ng-checked="isSelectedAll($index)"></th>
<th>任务单编号</th> <th><a ng-click="countyCode='taskId';desc=!desc">任务单编号</a></th>
<th>核验日期</th> <th>核验日期</th>
<th>地区</th> <th><a ng-click="countyCode='countyCode';desc=!desc">地区</a></th>
<th>组数</th> <th>组数</th>
<th>组号</th> <th><a ng-click="countyCode='groupNum';desc=!desc">受理组号</a></th>
<th>核验数量</th> <th>核验数量</th>
<th>证件数量</th> <th>证件数量</th>
<th>电写入数量</th> <th>电写入数量</th>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
<tbody ng-repeat="task in type.countyList"> <tbody ng-repeat="task in type.countyList | orderBy:countyCode:desc">
<tr> <tr>
<td ng-if="task.faileCount==0"><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td> <td ng-if="task.faileCount==0"><input type="checkbox" class="checkOneBox" ng-checked="isSelected(task)" value="{{task.taskId}}" ng-click="updateSelection($event,task)"></td>
<td ng-if="task.faileCount>0"></td> <td ng-if="task.faileCount>0"></td>
......
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