From 81672518fc9a2e86c5c34dba341aaa535c2f069d Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 22 五月 2024 17:06:41 +0800
Subject: [PATCH] #

---
 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