#
Junjie
2025-07-19 ca9531cfb203f2250e9f08c9e861c4624f179eb9
src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -960,6 +960,19 @@
     */
    public synchronized void locToCrnStn(CrnSlave slave, CrnProtocol crnProtocol,Integer mark) {
        News.warnNoLog(""+mark+" - 2"+" - 0"+" - 堆垛机入出库作业下发:执行出库");
        int devpTaskStackOver = 20;
        Config config = configService.selectOne(new EntityWrapper<Config>()
                .eq("code", "devpTaskStackOver"));
        if(config != null) {
            devpTaskStackOver = Integer.parseInt(config.getValue());
        }
        if (commonService.queryDevpWorkingCount() > devpTaskStackOver) {
            News.warn(""+mark+" - 2"+" - 0"+" - 输送线任务过载");
            return;
        }
        for (CrnSlave.CrnStn crnStn : slave.getCrnOutStn()) {
            // 获取工作状态为11(生成出库ID)的出库工作档
//            WrkMast wrkMast = wrkMastMapper.selectPakOutStep1(slave.getId(), crnStn.getStaNo());