Junjie
1 天以前 b6822702b178d933dfbafedfea939959a1180d7b
src/main/java/com/zy/core/thread/impl/ZyStationV5Thread.java
@@ -265,7 +265,7 @@
    @Override
    public boolean clearPath(Integer taskNo) {
        if (taskNo == null || taskNo <= 0) {
        if (taskNo == null) {
            return false;
        }
        if (zyStationConnectDriver == null) {
@@ -289,18 +289,17 @@
                    continue;
                }
                found = true;
                Integer clearedTaskNo = item.getTaskNo();
                if (!zyStationConnectDriver.clearTaskBufferSlot(stationId, item.getSlotIdx())) {
                    success = false;
                    log.warn("输送站缓存区残留路径清理失败。stationId={}, slotIdx={}, taskNo={}",
                            stationId, item.getSlotIdx(), item.getTaskNo());
                            stationId, item.getSlotIdx(), clearedTaskNo);
                    continue;
                }else {
                }
                    item.setTaskNo(0);
                    item.setTargetStaNo(0);
                    success = true;
                    log.warn("输送站缓存区残留路径清理成功。stationId={}, slotIdx={}, taskNo={}",
                            stationId, item.getSlotIdx(), item.getTaskNo());
                }
                        stationId, item.getSlotIdx(), clearedTaskNo);
            }
        }
        return found && success;