From 71c20c4ce3bdd37038c08b10f5bdfa075793f049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Mon, 10 Nov 2025 16:13:08 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E7=94=B3=E8=AF=B7=E6=94=B9?= =?UTF-8?q?=E5=8F=98callingFlag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../automatedWarehouse/mapper/WcsIntegrationMapper.java | 1 + .../customer/service/impl/ShipmentIssueServiceImpl.java | 1 + .../modules/notify/service/impl/NewIssureServiceImpl.java | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) 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");