From 50435a81915932eda06b7f1afd48f9ff1ae84f19 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期四, 10 四月 2025 17:50:28 +0800
Subject: [PATCH] 1

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/action/LiftAction.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/action/LiftAction.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/action/LiftAction.java
index b727735..1cf3ad3 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/action/LiftAction.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/core/action/LiftAction.java
@@ -104,7 +104,8 @@
             LiftCommand command = commands.get(commandStep - 1);
             if (command.getMode() == LiftCommandModeType.MOVE.id) {
                 //鎻愬崌鏈哄崌闄�
-                if (liftProtocol.getLev() == command.getTargetLev()) {
+                Integer target = liftDispatcher.getLiftLevLogic(liftThread.getDevice().getId().intValue(), command.getTargetLev());
+                if (liftProtocol.getLev() == target) {
                     command.setComplete(true);
                 }
             } else if (command.getMode() == LiftCommandModeType.MOVE_CAR.id) {

--
Gitblit v1.9.1