Commit bddf659b authored by dahai's avatar dahai

修改 添加快证后出现空组现象

parent e76bebe6
...@@ -311,6 +311,10 @@ public class TaskListApi { ...@@ -311,6 +311,10 @@ public class TaskListApi {
List<GroupNoEntity> groupNoEntities = groupNoService.selectGroupNoEntityByGroupNo(acceptNo.substring(0, 8)); List<GroupNoEntity> groupNoEntities = groupNoService.selectGroupNoEntityByGroupNo(acceptNo.substring(0, 8));
if (groupNoEntities.size() > 0) { if (groupNoEntities.size() > 0) {
for (GroupNoEntity groupNoEntity : groupNoEntities) { for (GroupNoEntity groupNoEntity : groupNoEntities) {
if (groupNoEntity.getValidCount()==1){
taskListService.deleteRedoTask(groupNoEntity.getTaskId());
break;
}
groupNoEntity.setSpecialCardCount(groupNoEntity.getSpecialCardCount() + 1); groupNoEntity.setSpecialCardCount(groupNoEntity.getSpecialCardCount() + 1);
groupNoService.updateGroupNoSpecialCount(groupNoEntity); groupNoService.updateGroupNoSpecialCount(groupNoEntity);
} }
......
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