Junjie
9 小时以前 9f13307b0ad0d7a0bac431773ec073cb93b170d4
src/main/java/com/zy/core/utils/CrnOperateProcessUtils.java
@@ -503,13 +503,14 @@
        }
        if (!isWithinBatchExecuteWindow(wrkMast, unfinishedBatchWrkMasts, batchRunningLimit)) {
            Integer windowStartSeq = unfinishedBatchWrkMasts.get(0).getBatchSeq();
            Integer windowEndSeq = unfinishedBatchWrkMasts.get(Math.min(batchRunningLimit, unfinishedBatchWrkMasts.size()) - 1).getBatchSeq();
            List<Integer> windowBatchSeqList = unfinishedBatchWrkMasts.stream()
                    .limit(Math.min(batchRunningLimit, unfinishedBatchWrkMasts.size()))
                    .map(WrkMast::getBatchSeq)
                    .collect(java.util.stream.Collectors.toList());
            News.taskInfo(wrkMast.getWrkNo(),
                    "批次:{} 当前严格执行窗口序号为[{}-{}],当前序号={},暂不允许堆垛机出库",
                    "批次:{} 当前严格执行窗口序号列表为{},当前序号={},暂不允许堆垛机出库",
                    wrkMast.getBatch(),
                    windowStartSeq,
                    windowEndSeq,
                    windowBatchSeqList,
                    wrkMast.getBatchSeq());
            return false;
        }