From 00ecb40e3882df465f70f715531796912bd3c29c Mon Sep 17 00:00:00 2001
From: pjb <pjb123456>
Date: 星期日, 13 七月 2025 16:54:27 +0800
Subject: [PATCH] 增加空托出库条件(堆垛机自动+无报警码)

---
 src/main/java/com/zy/common/web/WcsController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/common/web/WcsController.java b/src/main/java/com/zy/common/web/WcsController.java
index 43c26de..0a30c03 100644
--- a/src/main/java/com/zy/common/web/WcsController.java
+++ b/src/main/java/com/zy/common/web/WcsController.java
@@ -450,7 +450,7 @@
         WrkMast wrkMast = wrkMastService.selectById(wrkNo);
         if (wrkMast == null) {
             throw new CoolException("寮傚父鍙e叆搴撲换鍔″彿鏃犱换鍔★細" + wrkNo);
-        } else if (wrkMast.getLocNo() != null) {
+        } else if (wrkMast.getLocNo() != null && wrkMast.getLocNo().length() == 7) {
             throw new CoolException("寮傚父鍙e叆搴撳簱浣嶅凡鍒嗛厤锛�" + wrkMast.getLocNo());
         }
 

--
Gitblit v1.9.1