From 93c192a2dded7c8fc6b64b556a4e263d390b45d1 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期六, 13 七月 2024 15:27:35 +0800
Subject: [PATCH] #

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java
index ae8097c..a6a4cfb 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayLiftThread.java
@@ -92,8 +92,13 @@
                 //----------璇诲彇鎻愬崌鏈虹姸鎬�-----------
                 //妯″紡
                 liftProtocol.setModel(true);
+
+                boolean runningState = data.getInteger("runningState") == 1;
+                if (!data.getInteger("completeTaskNo").equals(data.getInteger("taskNo"))) {
+                    runningState = true;//宸ヤ綔鍙蜂笉涓�鑷达紝璁や负澶勪簬杩愯涓�
+                }
                 //杩愯鐘舵��
-                liftProtocol.setRun(data.getInteger("runningState") == 1);
+                liftProtocol.setRun(runningState);
                 //灏辩华鐘舵��
                 liftProtocol.setReady(data.getInteger("readyState") == 1);
                 //鏈夋墭鐩�

--
Gitblit v1.9.1