From 65c13f7dafe0945ccd9b657cc31c4d4bc3a94359 Mon Sep 17 00:00:00 2001
From: yangyang
Date: 星期三, 02 七月 2025 19:38:39 +0800
Subject: [PATCH] 添加容器管理

---
 zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/InStockController.java |    5 +++++
 1 files changed, 5 insertions(+), 0 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 bbf315c..44eb5cf 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
@@ -35,6 +35,11 @@
             return R.error("杈撻�佺嚎鑺傜偣缂栫爜涓嶈兘涓虹┖锛侊紒");
         }
 
+        String str = arrivedParam.getContainerCode().trim();
+        // CUT搴撴潯鐮乀寮�澶达紝鎴彇鍚�10浣�
+        if (str.charAt(0) == 'T') {
+            arrivedParam.setContainerCode(str.substring(str.length() - 10));
+        }
         return wcsApiService.containerArrivedNotify(arrivedParam, "inStock", getHostId());
 
     }

--
Gitblit v1.9.1