From 8382f1250bcfd840ba389ee5c38495e2519a1e5d Mon Sep 17 00:00:00 2001
From: cpT <1@123>
Date: 星期三, 28 一月 2026 16:18:46 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/plugin/FakeProcess.java |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/core/plugin/FakeProcess.java b/src/main/java/com/zy/core/plugin/FakeProcess.java
index 7588105..7daf0eb 100644
--- a/src/main/java/com/zy/core/plugin/FakeProcess.java
+++ b/src/main/java/com/zy/core/plugin/FakeProcess.java
@@ -493,6 +493,8 @@
                                 wmsOperateUtils.applyInTaskAsync(barcode, stationIdVal,
                                         stationProtocol.getPalletHeight());
                                 redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
+
+                                stationProtocol.setSystemWarning("璇锋眰鍏ュ簱澶辫触锛學MS杩斿洖=" + response);
                                 continue;
                             }
 
@@ -515,6 +517,8 @@
                                     continue;
                                 }
                                 MessageQueue.offer(SlaveType.Devp, basDevp.getDevpNo(), new Task(2, command));
+
+                                stationProtocol.setSystemWarning("");
                             } else {
                                 // 鎺ュ彛杩斿洖闈�200锛岄噸鏂板彂璧疯姹�
                                 News.error("WMS鍏ュ簱鎺ュ彛杩斿洖闈�200锛岄噸鏂板彂璧疯姹傦紝barcode={}锛宻tationId={}锛宺esponse={}", barcode,
@@ -522,6 +526,8 @@
                                 wmsOperateUtils.applyInTaskAsync(barcode, stationIdVal,
                                         stationProtocol.getPalletHeight());
                                 redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
+
+                                stationProtocol.setSystemWarning("璇锋眰鍏ュ簱澶辫触锛學MS杩斿洖=" + response);
                             }
                         } else {
                             // 3. 娌℃湁鍝嶅簲缁撴灉锛屾鏌ユ槸鍚︽湁璇锋眰姝e湪杩涜涓�
@@ -531,6 +537,8 @@
                                 wmsOperateUtils.applyInTaskAsync(barcode, stationIdVal,
                                         stationProtocol.getPalletHeight());
                                 redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
+
+                                stationProtocol.setSystemWarning("璇锋眰鍏ュ簱澶辫触锛學MS鏃犺繑鍥�");
                             }
                         }
                     }

--
Gitblit v1.9.1