From 20235a873f123a83f7763c0327e5845caa32c9b9 Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期四, 03 四月 2025 16:15:19 +0800
Subject: [PATCH] 入出库订单打印,拣货单打印,搜索条件增加

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java
index 0a18483..dce43a8 100644
--- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java
+++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/services/Impl/WcsApiServiceImpl.java
@@ -114,9 +114,12 @@
                         throw new CoolException("鏈壘鍒版挱绉嶅");
                     }
                     for (CacheSite cacheSite:cacheSites) {
+                        // 鑾峰彇浠诲姟鏄庣粏鏁伴噺
+                        List<TaskDetl> taskDetlByTaskId = taskDetlService.getTaskDetlByTaskId(task.getId());
+                        double sum = taskDetlByTaskId.stream().mapToDouble(TaskDetl::getAnfme).sum();
                         SlapLightControlParam slapLightControlParam = new SlapLightControlParam();
                         slapLightControlParam.setControllerCode(cacheSite.getMemo()).setTagCode(cacheSite.getSiteNo())
-                                .setColor("GREEN").setMode("LIGHT");
+                                .setColor("GREEN").setMode("LIGHT").setDisplay(String.valueOf(sum));
                         // 鍙戣捣浜伅璇锋眰
                         CommonReponse response = HttpEssUtils.post("鍒拌揪鎷i�変綅锛屾挱绉嶅浜伅", HttpEssUtils.PLT_SEND_COMMAND, slapLightControlParam);
                         if (response.getCode().equals(0)) {

--
Gitblit v1.9.1