From fe94feb60561eb7571fe781de975b12288925a15 Mon Sep 17 00:00:00 2001
From: zzgtfwq <zzgtfwq>
Date: 星期二, 03 三月 2026 16:55:25 +0800
Subject: [PATCH] #26-03-10-00

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

diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
index e299733..cec7994 100644
--- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java
@@ -342,8 +342,8 @@
              if (devpThread == null) continue;
              
              // 妫�鏌ヨPLC鏄惁绠$悊璇ョ珯鐐�
-             if (devpThread.getStation().containsKey(sourceStaNo.shortValue())) {
-                 StaProtocol staProtocol = devpThread.getStation().get(sourceStaNo.shortValue());
+             if (devpThread.getStation().containsKey(sourceStaNo)) {
+                 StaProtocol staProtocol = devpThread.getStation().get(sourceStaNo);
                  if (staProtocol == null) {
                      continue;
                  } else {
@@ -353,7 +353,7 @@
 
                      staProtocol.setWorkNo(wrkMast.getWrkNo());
                      if (wrkMast.getStaNo() != null) {
-                        staProtocol.setStaNo(wrkMast.getStaNo().shortValue());
+                        staProtocol.setStaNo((short)(wrkMast.getSourceStaNo()- 1));
                      }
                      
                      // 涓嬪彂PLC鎸囦护

--
Gitblit v1.9.1