From 5a56b56dc646c89669bfbc373853689d2888f103 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 16 三月 2026 13:41:15 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/utils/StationOperateProcessUtils.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/core/utils/StationOperateProcessUtils.java b/src/main/java/com/zy/core/utils/StationOperateProcessUtils.java
index f31ab82..3e388d7 100644
--- a/src/main/java/com/zy/core/utils/StationOperateProcessUtils.java
+++ b/src/main/java/com/zy/core/utils/StationOperateProcessUtils.java
@@ -532,7 +532,7 @@
     public synchronized void checkStationOutOrder() {
         List<BasDevp> basDevps = basDevpService.list(new QueryWrapper<BasDevp>());
         for (BasDevp basDevp : basDevps) {
-            StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getId());
+            StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getDevpNo());
             if (stationThread == null) {
                 continue;
             }
@@ -576,7 +576,7 @@
                 List<WrkMast> batchWrkList = wrkMastService.list(new QueryWrapper<WrkMast>()
                         .notIn("wrk_sts", WrkStsType.STATION_RUN_COMPLETE.sts, WrkStsType.COMPLETE_OUTBOUND.sts)
                         .eq("batch", wrkMast.getBatch())
-                        .orderBy(true, true, "batch")
+                        .orderBy(true, true, "batch_seq")
                 );
                 if (batchWrkList.isEmpty()) {
                     continue;
@@ -652,7 +652,7 @@
     public synchronized void watchCircleStation() {
         List<BasDevp> basDevps = basDevpService.list(new QueryWrapper<BasDevp>());
         for (BasDevp basDevp : basDevps) {
-            StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getId());
+            StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getDevpNo());
             if (stationThread == null) {
                 continue;
             }

--
Gitblit v1.9.1