Commit a3cf6ca0e4c20d951d599bcf624c80cbbb5e5dea
1 parent
712d8687
任务回传 优化
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/huaheng/pc/task/taskHeader/service/TaskBackQueue.java
... | ... | @@ -98,7 +98,7 @@ public class TaskBackQueue implements BackQueue{ |
98 | 98 | if(StringUtils.isEmpty(receiptHeader.getReferCode())){ |
99 | 99 | domain.setIsSuc(true).setMsg("无需回传").setBackNum(QuantityConstant.NOT_RETURN); |
100 | 100 | callBack.back(domain); |
101 | - return; | |
101 | + continue; | |
102 | 102 | } |
103 | 103 | if(taskAllComplete(receiptHeader.getCode())){ |
104 | 104 | continue; |
... | ... | @@ -133,7 +133,7 @@ public class TaskBackQueue implements BackQueue{ |
133 | 133 | for (ShipmentHeader shipmentHeader : list1) { |
134 | 134 | if(StringUtils.isEmpty(shipmentHeader.getReferCode())){ |
135 | 135 | domain.setIsSuc(true).setMsg("无需回传").setBackNum(QuantityConstant.NOT_RETURN); |
136 | - return; | |
136 | + continue; | |
137 | 137 | } |
138 | 138 | if(taskAllComplete(shipmentHeader.getCode())){ |
139 | 139 | continue; |
... | ... |