Commit 7d58db884cc903dc7d673b96ca0faeea1efc46ab
1 parent
f9f556ad
任务回传中去除 排除其他入库回传。
Showing
1 changed file
with
5 additions
and
0 deletions
src/main/java/com/huaheng/pc/task/taskHeader/service/ReceiptTaskService.java
... | ... | @@ -574,6 +574,11 @@ public class ReceiptTaskService { |
574 | 574 | receiptDetail.setTaskQty(taskDetail.getQty()); |
575 | 575 | ReturnInfo returnInfo = mesReceiptController.postE_Rd_In(receiptDetail); |
576 | 576 | ReceiptHeader receiptHeader = receiptHeaderService.getById(receiptDetail.getReceiptId()); |
577 | + if("199".equals(receiptHeader.getReceiptType())){ | |
578 | + taskHeader.setBackMoM(1); | |
579 | + taskHeaderService.updateById(taskHeader); | |
580 | + continue; | |
581 | + } | |
577 | 582 | receiptHeader.setPushErrorCount(receiptHeader.getPushErrorCount()+1); |
578 | 583 | if (returnInfo !=null && returnInfo.getCode()==200) { |
579 | 584 | BigDecimal pushQty = receiptHeader.getPushQty().add(taskDetail.getQty()); |
... | ... |