Junjie
2026-04-14 cab0ccaa5f3c639cee16eea02421bbfa1cdbe09a
src/main/java/com/zy/core/utils/station/StationOutboundDispatchProcessor.java
@@ -143,6 +143,15 @@
                return;
            }
            long sameStationCount = wrkMastService.count(new QueryWrapper<WrkMast>()
                    .eq("wrk_sts", WrkStsType.OUTBOUND_RUN_COMPLETE.sts)
                    .eq("source_sta_no", stationObjModel.getStationId()));
            if (sameStationCount > 1) {
                News.taskError(wrkMast.getWrkNo(), "出库异常:同一源站存在多笔搬运完成任务,不下发命令。源站={},数量={}",
                        stationObjModel.getStationId(), sameStationCount);
                return;
            }
            StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, stationObjModel.getDeviceNo());
            if (stationThread == null) {
                return;