From 0f0df7dbac349bacfaf501cfe97bcba1733fb18d Mon Sep 17 00:00:00 2001
From: 野心家 <1051256694@qq.com>
Date: 星期二, 28 二月 2023 19:15:57 +0800
Subject: [PATCH] phpswcs创建

---
 src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
index a66e8af..98acb5e 100644
--- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -1501,6 +1501,7 @@
                 // 鑾峰彇鍙夎溅绔欑偣
                 StaProtocol staProtocol = devpThread.getStation().get(staNo);
                 if (null == staProtocol || null == staProtocol.getWorkNo() || 0 == staProtocol.getWorkNo() || !staProtocol.isLoading()) {
+                    MessageQueue.offer(SlaveType.Led, led.getId(), new Task(3, ""));
                     continue;
                 } else {
                     staProtocol = staProtocol.clone();
@@ -1508,6 +1509,7 @@
                 // 鑾峰彇宸ヤ綔妗f暟鎹�
                 WrkMast wrkMast = wrkMastMapper.selectById(staProtocol.getWorkNo());
                 if (null == wrkMast) {
+                    MessageQueue.offer(SlaveType.Led, led.getId(), new Task(3, ""));
                     continue;
                 }
                 ArrayList<MatDto> matDtos = new ArrayList<>();

--
Gitblit v1.9.1