diff --git a/src/main/java/com/gaotao/modules/automatedWarehouse/mapper/WcsIntegrationMapper.java b/src/main/java/com/gaotao/modules/automatedWarehouse/mapper/WcsIntegrationMapper.java index 1a341a4..5bd81c0 100644 --- a/src/main/java/com/gaotao/modules/automatedWarehouse/mapper/WcsIntegrationMapper.java +++ b/src/main/java/com/gaotao/modules/automatedWarehouse/mapper/WcsIntegrationMapper.java @@ -869,4 +869,5 @@ public interface WcsIntegrationMapper { int checkPalletIsFull(@Param("site") String site, @Param("palletId") String palletId); WmsTransportTask checkIfHasNeedTask(@Param("site") String site, @Param("palletId") String palletId); + } diff --git a/src/main/java/com/gaotao/modules/customer/service/impl/ShipmentIssueServiceImpl.java b/src/main/java/com/gaotao/modules/customer/service/impl/ShipmentIssueServiceImpl.java index 563b979..7530fdb 100644 --- a/src/main/java/com/gaotao/modules/customer/service/impl/ShipmentIssueServiceImpl.java +++ b/src/main/java/com/gaotao/modules/customer/service/impl/ShipmentIssueServiceImpl.java @@ -522,6 +522,7 @@ public class ShipmentIssueServiceImpl implements ShipmentIssueService { taskDetail.setWmsStatus("未执行"); taskDetailList.add(taskDetail); + wcsIntegrationMapper.updatePalletCallingFlag(site,palletId,"Y","发货申请单"); } System.out.println("准备wms_order_task_detail对象" + orderPalletIds.size() + "条 - rqrq"); diff --git a/src/main/java/com/gaotao/modules/notify/service/impl/NewIssureServiceImpl.java b/src/main/java/com/gaotao/modules/notify/service/impl/NewIssureServiceImpl.java index d52ab7f..4805f0c 100644 --- a/src/main/java/com/gaotao/modules/notify/service/impl/NewIssureServiceImpl.java +++ b/src/main/java/com/gaotao/modules/notify/service/impl/NewIssureServiceImpl.java @@ -771,7 +771,9 @@ public class NewIssureServiceImpl implements NewIssureService { Date currentTime = new Date(); int successCount = 0; // 统计成功推送的订单数 - rqrq - + + + // 7. 遍历每个生产订单 - rqrq for (Map.Entry> entry : groupedByOrder.entrySet()) { String productionOrderNo = entry.getKey(); @@ -865,6 +867,7 @@ public class NewIssureServiceImpl implements NewIssureService { taskDetail.setWmsStatus("未执行"); taskDetailList.add(taskDetail); + wcsIntegrationMapper.updatePalletCallingFlag(site,palletId,"Y","领料申请单"); } System.out.println("准备wms_order_task_detail对象" + orderPalletIds.size() + "条 - rqrq");