From f1a1915b575c435f7172fdb59d48e13726ff4ff0 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期三, 29 五月 2024 16:29:07 +0800
Subject: [PATCH] # 调拨单同步锁

---
 src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java
index b33dbfa..d877c17 100644
--- a/src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/AgvMobileServiceImpl.java
@@ -394,7 +394,11 @@
             }
         } else {
             if (agvLocMast.getFloor() != floor) {
-                ioType = 12;
+                if (agvLocMast.getFloor() == 1) {
+                    throw new CoolException("褰撳墠搴撲綅璇烽�夋嫨璋冩嫧鍗曡皟鎷紒");
+                } else {
+                    ioType = 12;
+                }
             } else {
                 ioType = 11;
             }

--
Gitblit v1.9.1