From 19fe6936cbe4deef1f18186350a71acff4dff58e Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 14 一月 2025 17:06:18 +0800
Subject: [PATCH] # 24. PDA出库成功后,界面数据重置,避免重复操作  (已修复) 25. PDA接口请求,添加一个Loading遮档  (已修复) 27. 非平库单据,在平库可做入库操作  (已修复) 29. 平库入库后,订单明细没有添加(已修复) 30. 平库入库后,单据类型没有修改(已修复) 31. 没有绑定播种位,不能进行播种,前后端都需加判定(已修复) 33. 平库入库未修改入库已完成数量(已修复)

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/InStockController.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/InStockController.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/InStockController.java
index dbf995b..bbf315c 100644
--- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/InStockController.java
+++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/InStockController.java
@@ -4,6 +4,7 @@
 import com.zy.asrs.wms.apis.wcs.entity.request.ContainerArrivedParam;
 import com.zy.asrs.wms.apis.wcs.entity.request.TasksStatusCallbackParam;
 import com.zy.asrs.wms.apis.wcs.services.WcsApiService;
+import com.zy.asrs.wms.system.controller.BaseController;
 import io.netty.util.internal.StringUtil;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.PostMapping;
@@ -13,7 +14,7 @@
 
 @RequestMapping("/in/stock/")
 @RestController
-public class InStockController {
+public class InStockController extends BaseController {
 
     @Autowired
     private WcsApiService wcsApiService;
@@ -34,7 +35,7 @@
             return R.error("杈撻�佺嚎鑺傜偣缂栫爜涓嶈兘涓虹┖锛侊紒");
         }
 
-        return wcsApiService.containerArrivedNotify(arrivedParam, "inStock");
+        return wcsApiService.containerArrivedNotify(arrivedParam, "inStock", getHostId());
 
     }
 
@@ -53,7 +54,7 @@
             if (StringUtil.isNullOrEmpty(callbackParam.getTaskCode())) {
                 return R.error("浠诲姟缂栫爜涓嶈兘涓虹┖锛侊紒");
             }
-           wcsApiService.receiveTaskStatus(callbackParam, "inStock");
+           wcsApiService.receiveTaskStatus(callbackParam, "inStock", getHostId());
         } else {
             return R.error("涓婃姤浜嬩欢绫诲瀷涓嶈兘涓虹┖锛侊紒");
         }

--
Gitblit v1.9.1