From 4936d43146b6fb190f42e1d4d443721da6a0e57e Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 29 五月 2024 08:56:55 +0800
Subject: [PATCH] # 箱壳跨层移库  2,3楼 --> 1楼 回退调拨数量

---
 src/main/java/com/zy/asrs/controller/AgvLocMastController.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/AgvLocMastController.java b/src/main/java/com/zy/asrs/controller/AgvLocMastController.java
index ac0679a..30cd109 100644
--- a/src/main/java/com/zy/asrs/controller/AgvLocMastController.java
+++ b/src/main/java/com/zy/asrs/controller/AgvLocMastController.java
@@ -105,6 +105,9 @@
                 if (!agvLocDetlService.delete(new EntityWrapper<AgvLocDetl>().eq("loc_no", locMast.getLocNo()))) {
                     throw new CoolException("鏈嶅姟鍣ㄩ敊璇紝璇疯仈绯荤鐞嗗憳");
                 }
+                if (locMast.getLocSts().equals("O")) {
+                    locMast.setBarcode("");
+                }
             }
         }
         locMast.setModiUser(getUserId());

--
Gitblit v1.9.1