#
Administrator
2026-04-25 4eb9cd026398e50c36a5c0339ea8992dc76e8318
#
2个文件已修改
401 ■■■■ 已修改文件
src/main/java/com/zy/core/plugin/XiaosongProcess.java 272 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/core/utils/StationOperateProcessUtils.java 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/core/plugin/XiaosongProcess.java
@@ -95,136 +95,184 @@
    private void submitGenerateStoreWrkFileTask() {
        mainProcessTaskSubmitter.submitSerialTask(
                MainProcessLane.GENERATE_STORE,
                "generateStoreWrkFile",
                "submitGenerateStoreWrkFileTask",
                DISPATCH_INTERVAL_MS,
                this::generateStoreWrkFile
                this::submitGenerateStoreWrkFileTasksInternal
        );
    }
    /**
     * 请求生成入库任务
     * 入库站,根据条码扫描生成入库工作档
     */
    public synchronized void generateStoreWrkFile() {
        try {
            Object systemConfigMapObj = redisUtil.get(RedisKeyType.SYSTEM_CONFIG_MAP.key);
            if (systemConfigMapObj == null) {
                return;
            }
            HashMap<String, String> systemConfigMap = (HashMap<String, String>) systemConfigMapObj;
            int conveyorStationTaskLimit = 30;
            String conveyorStationTaskLimitStr = systemConfigMap.get("conveyorStationTaskLimit");
            if (conveyorStationTaskLimitStr != null) {
                conveyorStationTaskLimit = Integer.parseInt(conveyorStationTaskLimitStr);
            }
            int currentStationTaskCount = stationOperateProcessUtils.getCurrentStationTaskCount();
            if (currentStationTaskCount > conveyorStationTaskLimit) {
                News.error("输送站点任务已达到上限,上限值:{},站点任务数:{}", conveyorStationTaskLimit, currentStationTaskCount);
                return;
    private void submitGenerateStoreWrkFileTasksInternal() {
        List<BasDevp> basDevps = basDevpService.selectList(new EntityWrapper<>());
        for (final BasDevp basDevp : basDevps) {
            StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getDevpNo());
            if (stationThread == null) {
                continue;
            }
            List<BasDevp> basDevps = basDevpService.selectList(new EntityWrapper<>());
            for (BasDevp basDevp : basDevps) {
                StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getDevpNo());
                if (stationThread == null) {
            Map<Integer, StationProtocol> stationMap = stationThread.getStatusMap();
            if (stationMap == null || stationMap.isEmpty()) {
                continue;
            }
            List<StationObjModel> list = basDevp.getBarcodeStationList$();
            for (final StationObjModel entity : list) {
                Integer stationId = entity == null ? null : entity.getStationId();
                if (stationId == null || !stationMap.containsKey(stationId)) {
                    continue;
                }
                Map<Integer, StationProtocol> stationMap = stationThread.getStatusMap();
                List<StationObjModel> list = basDevp.getBarcodeStationList$();
                for (StationObjModel entity : list) {
                    Integer stationId = entity.getStationId();
                    if (!stationMap.containsKey(stationId)) {
                        continue;
                    }
                    StationProtocol stationProtocol = stationMap.get(stationId);
                    if (stationProtocol == null) {
                        continue;
                    }
                    if (stationProtocol.isAutoing()
                            && stationProtocol.isLoading()
                            && stationProtocol.isInEnable()
                            && stationProtocol.getTaskNo() > 0) {
                        if (Cools.isEmpty(stationProtocol.getBarcode())) {
                            continue;
                        }
                        if (stationProtocol.getError() > 0) {
                            Object lock = redisUtil.get(RedisKeyType.GENERATE_STATION_BACK_LIMIT.key + stationProtocol.getTaskNo());
                            if (lock != null) {
                                continue;
                mainProcessTaskSubmitter.submitKeyedSerialTask(
                        MainProcessLane.GENERATE_STORE,
                        stationId,
                        "generateStoreWrkFile",
                        DISPATCH_INTERVAL_MS,
                        new Runnable() {
                            @Override
                            public void run() {
                                generateStoreWrkFile(basDevp, entity);
                            }
                            StationObjModel backStation = entity.getBackStation();
                            StationCommand command = stationThread.getCommand(StationCommandType.MOVE, commonService.getWorkNo(WrkIoType.STATION_BACK.id), stationId, backStation.getStationId(), 0);
                            if (command == null) {
                                News.taskInfo(stationProtocol.getTaskNo(), "{}工作,获取输送线命令失败", stationProtocol.getTaskNo());
                                continue;
                            }
                            MessageQueue.offer(SlaveType.Devp, basDevp.getDevpNo(), new Task(2, command));
                            News.taskInfo(stationProtocol.getTaskNo(), "{}扫码异常,已退回至{}", backStation.getStationId());
                            redisUtil.set(RedisKeyType.GENERATE_STATION_BACK_LIMIT.key + stationProtocol.getTaskNo(), "lock", 10);
                                continue;
                        }
                );
            }
        }
    }
                        // 检测任务是否生成
                        List<WrkMast> wrkMasts = wrkMastService
                                .selectList(new EntityWrapper<WrkMast>()
                                        .eq("barcode", stationProtocol.getBarcode()));
                        if (!wrkMasts.isEmpty()) {
                            for (WrkMast wrkMast : wrkMasts) {
                                if (wrkMast.getIoType().equals(WrkIoType.OUT.id) && wrkMast.getWrkSts().equals(WrkStsType.STATION_RUN.sts)) {
                                    wrkMast.setWrkSts(WrkStsType.COMPLETE_OUTBOUND.sts);
                                    wrkMast.setModiTime(new Date());
                                    wrkMastService.updateById(wrkMast);
                                }
                            }
                            continue;
                        }
    private void generateStoreWrkFile(BasDevp basDevp, StationObjModel entity) {
        if (basDevp == null || entity == null || entity.getStationId() == null) {
            return;
        }
                        Object lock = redisUtil.get(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId);
                        if (lock != null) {
                            continue;
                        }
        Object systemConfigMapObj = redisUtil.get(RedisKeyType.SYSTEM_CONFIG_MAP.key);
        if (systemConfigMapObj == null) {
            return;
        }
        HashMap<String, String> systemConfigMap = (HashMap<String, String>) systemConfigMapObj;
                        String barcode = stationProtocol.getBarcode();
                        Integer stationIdVal = stationProtocol.getStationId();
        int conveyorStationTaskLimit = 30;
        String conveyorStationTaskLimitStr = systemConfigMap.get("conveyorStationTaskLimit");
        if (conveyorStationTaskLimitStr != null) {
            conveyorStationTaskLimit = Integer.parseInt(conveyorStationTaskLimitStr);
        }
        int currentStationTaskCount = stationOperateProcessUtils.getCurrentStationTaskCount();
        if (currentStationTaskCount > conveyorStationTaskLimit) {
            News.error("输送站点任务已达到上限,上限值:{},站点任务数:{}", conveyorStationTaskLimit, currentStationTaskCount);
            return;
        }
                        String response = wmsOperateUtils.applyInTask(barcode, stationIdVal,
                                stationProtocol.getPalletHeight());
                        if (response == null) {
                            News.error("WMS入库同步请求失败,接口未响应,barcode={},stationId={}", barcode, stationIdVal);
                            redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
                            stationProtocol.setSystemWarning("请求入库失败,WMS无返回");
                            continue;
                        }
        Integer stationId = entity.getStationId();
        StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getDevpNo());
        if (stationThread == null) {
            return;
        }
                        JSONObject jsonObject = JSON.parseObject(response);
                        Integer code = jsonObject.getInteger("code");
                        if (code != null && code.equals(200)) {
                            StartupDto dto = jsonObject.getObject("data", StartupDto.class);
        Map<Integer, StationProtocol> stationMap = stationThread.getStatusMap();
        if (stationMap == null || !stationMap.containsKey(stationId)) {
            return;
        }
                            CreateInTaskParam taskParam = new CreateInTaskParam();
                            taskParam.setTaskNo(dto.getTaskNo());
                            taskParam.setLocNo(dto.getLocNo());
                            taskParam.setTaskPri(dto.getTaskPri());
                            taskParam.setBarcode(barcode);
                            WrkMast wrkMast = commonService.createInTask(taskParam);
                            stationProtocol.setSystemWarning("");
                        } else {
                            News.error("WMS入库同步请求失败,接口返回Code异常,barcode={},stationId={},response={}",
                                    barcode, stationIdVal, response);
                            redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
                            stationProtocol.setSystemWarning("请求入库失败,WMS返回=" + response);
                        }
                    }
        StationProtocol stationProtocol = stationMap.get(stationId);
        if (stationProtocol == null) {
            return;
        }
        if (!(stationProtocol.isAutoing()
                && stationProtocol.isLoading()
                && stationProtocol.isInEnable()
                && stationProtocol.getTaskNo() > 0)) {
            return;
        }
        if (Cools.isEmpty(stationProtocol.getBarcode())) {
            return;
        }
        if (stationProtocol.getError() > 0) {
            Object backLock = redisUtil.get(RedisKeyType.GENERATE_STATION_BACK_LIMIT.key + stationProtocol.getTaskNo());
            if (backLock != null) {
                return;
            }
            StationObjModel backStation = entity.getBackStation();
            StationCommand command = stationThread.getCommand(StationCommandType.MOVE, commonService.getWorkNo(WrkIoType.STATION_BACK.id), stationId, backStation.getStationId(), 0);
            if (command == null) {
                News.taskInfo(stationProtocol.getTaskNo(), "{}工作,获取输送线命令失败", stationProtocol.getTaskNo());
                return;
            }
            MessageQueue.offer(SlaveType.Devp, basDevp.getDevpNo(), new Task(2, command));
            News.taskInfo(stationProtocol.getTaskNo(), "{}扫码异常,已退回至{}", backStation.getStationId());
            redisUtil.set(RedisKeyType.GENERATE_STATION_BACK_LIMIT.key + stationProtocol.getTaskNo(), "lock", 10);
            return;
        }
        List<WrkMast> wrkMasts = wrkMastService
                .selectList(new EntityWrapper<WrkMast>()
                        .eq("barcode", stationProtocol.getBarcode()));
        if (!wrkMasts.isEmpty()) {
            WrkMast firstWrkMast = wrkMasts.get(0);
            News.info("[WCS Debug][条码站入库] 条码已有工作档,跳过生成。stationId={},barcode={},当前站点taskNo={},已存在数量={},首个工作号={},状态={},locNo={}",
                    stationId, stationProtocol.getBarcode(), stationProtocol.getTaskNo(),
                    wrkMasts.size(), firstWrkMast.getWrkNo(), firstWrkMast.getWrkSts(),
                    firstWrkMast.getLocNo());
            for (WrkMast wrkMast : wrkMasts) {
                if (wrkMast.getIoType().equals(WrkIoType.OUT.id) && wrkMast.getWrkSts().equals(WrkStsType.STATION_RUN.sts)) {
                    wrkMast.setWrkSts(WrkStsType.COMPLETE_OUTBOUND.sts);
                    wrkMast.setModiTime(new Date());
                    wrkMastService.updateById(wrkMast);
                }
            }
        } catch (Exception e) {
            e.printStackTrace();
            return;
        }
        Object generateLock = redisUtil.get(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId);
        if (generateLock != null) {
            return;
        }
        String barcode = stationProtocol.getBarcode();
        Integer stationIdVal = stationProtocol.getStationId();
        long applyStartMs = System.currentTimeMillis();
        News.info("[WCS Debug][条码站入库] 准备请求WMS生成入库任务。stationId={},barcode={},stationTaskNo={},palletHeight={},isInEnable={}",
                stationIdVal, barcode, stationProtocol.getTaskNo(),
                stationProtocol.getPalletHeight(), stationProtocol.isInEnable());
        String response = wmsOperateUtils.applyInTask(barcode, stationIdVal,
                stationProtocol.getPalletHeight());
        News.info("[WCS Debug][条码站入库] WMS生成入库任务返回。stationId={},barcode={},stationTaskNo={},costMs={},response={}",
                stationIdVal, barcode, stationProtocol.getTaskNo(),
                System.currentTimeMillis() - applyStartMs, response);
        if (response == null) {
            News.error("WMS入库同步请求失败,接口未响应,barcode={},stationId={}", barcode, stationIdVal);
            redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
            stationProtocol.setSystemWarning("请求入库失败,WMS无返回");
            return;
        }
        JSONObject jsonObject = JSON.parseObject(response);
        Integer code = jsonObject.getInteger("code");
        if (code != null && code.equals(200)) {
            StartupDto dto = jsonObject.getObject("data", StartupDto.class);
            if (dto == null || Cools.isEmpty(dto.getLocNo())) {
                News.warn("[WCS Debug][条码站入库] WMS返回成功但库位为空,等待下一轮生成。stationId={},barcode={},stationTaskNo={},response={}",
                        stationIdVal, barcode, stationProtocol.getTaskNo(), response);
                redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
                stationProtocol.setSystemWarning("WMS已返回任务但库位为空");
                return;
            }
            CreateInTaskParam taskParam = new CreateInTaskParam();
            taskParam.setTaskNo(dto.getTaskNo());
            taskParam.setLocNo(dto.getLocNo());
            taskParam.setTaskPri(dto.getTaskPri());
            taskParam.setBarcode(barcode);
            News.info("[WCS Debug][条码站入库] 准备创建入库工作档。stationId={},barcode={},wmsTaskNo={},locNo={},taskPri={}",
                    stationIdVal, barcode, dto.getTaskNo(), dto.getLocNo(), dto.getTaskPri());
            WrkMast wrkMast = commonService.createInTask(taskParam);
            News.info("[WCS Debug][条码站入库] 入库工作档创建完成。stationId={},barcode={},wmsTaskNo={},wrkNo={},locNo={}",
                    stationIdVal, barcode, dto.getTaskNo(),
                    wrkMast == null ? null : wrkMast.getWrkNo(), dto.getLocNo());
            stationProtocol.setSystemWarning("");
        } else {
            News.error("WMS入库同步请求失败,接口返回Code异常,barcode={},stationId={},response={}",
                    barcode, stationIdVal, response);
            redisUtil.set(RedisKeyType.GENERATE_IN_TASK_LIMIT.key + stationId, "lock", 2);
            stationProtocol.setSystemWarning("请求入库失败,WMS返回=" + response);
        }
    }
src/main/java/com/zy/core/utils/StationOperateProcessUtils.java
@@ -117,18 +117,50 @@
    }
    public void submitStationInTasks(MainProcessLane lane, long minIntervalMs) {
        // 入库下发依赖单轮共享的承载预占状态,必须整体串行,避免多个站点并发时同时通过容量检查。
        mainProcessTaskSubmitter.submitSerialTask(
                MainProcessLane.STATION,
                "stationInExecute",
                MainProcessLane.STATION_SCAN,
                "submitStationInTasks",
                minIntervalMs,
                new Runnable() {
                    @Override
                    public void run() {
                        stationInExecute();
                        submitStationInTasksInternal(lane, minIntervalMs);
                    }
                }
        );
    }
    private void submitStationInTasksInternal(MainProcessLane lane, long minIntervalMs) {
        List<BasDevp> basDevps = basDevpService.selectList(new EntityWrapper<BasDevp>());
        for (final BasDevp basDevp : basDevps) {
            StationThread stationThread = (StationThread) SlaveConnection.get(SlaveType.Devp, basDevp.getDevpNo());
            if (stationThread == null) {
                continue;
            }
            Map<Integer, StationProtocol> stationMap = stationThread.getStatusMap();
            if (stationMap == null || stationMap.isEmpty()) {
                continue;
            }
            List<StationObjModel> list = basDevp.getBarcodeStationList$();
            for (final StationObjModel stationObjModel : list) {
                Integer stationId = stationObjModel == null ? null : stationObjModel.getStationId();
                if (stationId == null || !stationMap.containsKey(stationId)) {
                    continue;
                }
                mainProcessTaskSubmitter.submitKeyedSerialTask(
                        lane,
                        stationId,
                        "stationInExecute",
                        minIntervalMs,
                        new Runnable() {
                            @Override
                            public void run() {
                                stationInExecute(basDevp, stationObjModel);
                            }
                        }
                );
            }
        }
    }
    public void submitCrnStationOutTasks(long minIntervalMs) {
@@ -136,18 +168,39 @@
    }
    public void submitCrnStationOutTasks(MainProcessLane lane, long minIntervalMs) {
        // 出库站点下发同样会预占输送线/环线容量,与 stationInExecute 共用 STATION lane 串行。
        mainProcessTaskSubmitter.submitSerialTask(
                MainProcessLane.STATION,
                "crnStationOutExecute",
                MainProcessLane.STATION_SCAN,
                "submitCrnStationOutTasks",
                minIntervalMs,
                new Runnable() {
                    @Override
                    public void run() {
                        crnStationOutExecute();
                        submitCrnStationOutTasksInternal(lane, minIntervalMs);
                    }
                }
        );
    }
    private void submitCrnStationOutTasksInternal(MainProcessLane lane, long minIntervalMs) {
        List<WrkMast> wrkMasts = wrkMastService.selectList(new EntityWrapper<WrkMast>()
                .eq("wrk_sts", WrkStsType.OUTBOUND_RUN_COMPLETE.sts)
                .isNotNull("crn_no")
        );
        for (final WrkMast wrkMast : wrkMasts) {
            Integer laneKey = getCrnStationOutLaneKey(wrkMast);
            mainProcessTaskSubmitter.submitKeyedSerialTask(
                    lane,
                    laneKey,
                    "crnStationOutExecute",
                    minIntervalMs,
                    new Runnable() {
                        @Override
                        public void run() {
                            crnStationOutExecute(wrkMast);
                        }
                    }
            );
        }
    }
    public void submitDualCrnStationOutTasks(long minIntervalMs) {
@@ -460,14 +513,25 @@
                    .eq("io_type", WrkIoType.IN.id)
            );
            if (wrkMast == null) {
                logDebugLimited("station_in_wait_wrk_" + stationId + "_" + stationProtocol.getTaskNo(), 3,
                        "[WCS Debug][条码站入库] 条码站已有站点任务号但未找到入库工作档,等待任务生成。stationId={},stationTaskNo={},barcode={},isLoading={},isAutoing={}",
                        stationId, stationProtocol.getTaskNo(), stationProtocol.getBarcode(),
                        stationProtocol.isLoading(), stationProtocol.isAutoing());
                return false;
            }
            if (wrkMast.getWrkSts() == WrkStsType.INBOUND_DEVICE_RUN.sts) {
                logDebugLimited("station_in_already_run_" + wrkMast.getWrkNo(), 5,
                        "[WCS Debug][条码站入库] 入库工作档已处于设备上走状态,等待输送线/PLC状态推进。stationId={},wrkNo={},barcode={},locNo={},wrkSts={}",
                        stationId, wrkMast.getWrkNo(), stationProtocol.getBarcode(),
                        wrkMast.getLocNo(), wrkMast.getWrkSts());
                return false;
            }
            String locNo = wrkMast.getLocNo();
            News.info("[WCS Debug][条码站入库] 准备匹配入库目标站。stationId={},stationTaskNo={},wrkNo={},barcode={},locNo={},wrkSts={}",
                    stationId, stationProtocol.getTaskNo(), wrkMast.getWrkNo(),
                    stationProtocol.getBarcode(), locNo, wrkMast.getWrkSts());
            FindCrnNoResult findCrnNoResult = commonService.findCrnNoByLocNo(locNo);
            if (findCrnNoResult == null) {
                News.taskInfo(wrkMast.getWrkNo(), "{}工作,未匹配到堆垛机", wrkMast.getWrkNo());
@@ -483,10 +547,18 @@
            LoopHitResult loopHitResult = findPathLoopHit(limitConfig, stationProtocol.getStationId(), targetStationId, loadGuardState);
            if (isDispatchBlocked(limitConfig, currentStationTaskCountRef[0], loadGuardState, loopHitResult.isThroughLoop())) {
                logDebugLimited("station_in_dispatch_blocked_" + wrkMast.getWrkNo(), 3,
                        "[WCS Debug][条码站入库] 入库输送命令暂缓,下发容量/环线负载受限。stationId={},targetStationId={},wrkNo={},currentStationTaskCount={},throughLoop={},loopNo={},hitStationId={}",
                        stationId, targetStationId, wrkMast.getWrkNo(), currentStationTaskCountRef[0],
                        loopHitResult.isThroughLoop(), loopHitResult.getLoopNo(), loopHitResult.getHitStationId());
                return true;
            }
            long commandStartMs = System.currentTimeMillis();
            StationCommand command = stationThread.getCommand(StationCommandType.MOVE, wrkMast.getWrkNo(), stationId, targetStationId, 0);
            News.info("[WCS Debug][条码站入库] 获取入库输送命令完成。stationId={},targetStationId={},wrkNo={},costMs={},command={}",
                    stationId, targetStationId, wrkMast.getWrkNo(),
                    System.currentTimeMillis() - commandStartMs, JSON.toJSONString(command));
            if (command == null) {
                News.taskInfo(wrkMast.getWrkNo(), "{}工作,获取输送线命令失败", wrkMast.getWrkNo());
                return false;
@@ -500,6 +572,9 @@
            if (wrkMastService.updateById(wrkMast)) {
                MessageQueue.offer(SlaveType.Devp, basDevp.getDevpNo(), new Task(2, command));
                News.info("输送站点入库命令下发成功,站点号={},工作号={},命令数据={}", stationId, wrkMast.getWrkNo(), JSON.toJSONString(command));
                News.info("[WCS Debug][条码站入库] 入库输送命令已入队。stationId={},targetStationId={},wrkNo={},barcode={},locNo={},deviceNo={}",
                        stationId, targetStationId, wrkMast.getWrkNo(), stationProtocol.getBarcode(),
                        locNo, basDevp.getDevpNo());
                redisUtil.set(RedisKeyType.STATION_IN_EXECUTE_LIMIT.key + stationId, "lock", 5);
                loadGuardState.reserveLoopTask(loopHitResult.getLoopNo());
                saveLoopLoadReserve(wrkMast.getWrkNo(), loopHitResult);
@@ -529,6 +604,30 @@
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
    private Integer getCrnStationOutLaneKey(WrkMast wrkMast) {
        if (wrkMast == null) {
            return null;
        }
        Object infoObj = redisUtil.get(RedisKeyType.CRN_OUT_TASK_COMPLETE_STATION_INFO.key + wrkMast.getWrkNo());
        if (infoObj != null) {
            try {
                StationObjModel stationObjModel = JSON.parseObject(infoObj.toString(), StationObjModel.class);
                if (stationObjModel != null && stationObjModel.getStationId() != null) {
                    return stationObjModel.getStationId();
                }
            } catch (Exception e) {
                News.error("[WCS Debug][站点出库] 解析出库缓存站点失败,工作号={},cache={}", wrkMast.getWrkNo(), infoObj);
            }
        }
        if (wrkMast.getSourceStaNo() != null) {
            return wrkMast.getSourceStaNo();
        }
        if (wrkMast.getStaNo() != null) {
            return wrkMast.getStaNo();
        }
        return wrkMast.getWrkNo();
    }
    public void crnStationOutExecute(WrkMast wrkMast) {
@@ -1482,6 +1581,20 @@
        redisUtil.expire(RedisKeyType.STATION_CYCLE_LOAD_RESERVE.key, LOOP_LOAD_RESERVE_EXPIRE_SECONDS);
    }
    private void logDebugLimited(String lockKey, int seconds, String format, Object... arguments) {
        String redisKey = RedisKeyType.LOG_LIMIT.key + "wcs_debug_" + lockKey;
        try {
            Object lock = redisUtil.get(redisKey);
            if (lock != null) {
                return;
            }
            redisUtil.set(redisKey, "lock", seconds);
        } catch (Exception e) {
            // 诊断日志不能影响主流程。
        }
        News.info(format, arguments);
    }
    private DispatchLimitConfig getDispatchLimitConfig() {
        DispatchLimitConfig config = new DispatchLimitConfig();
        Object systemConfigMapObj = redisUtil.get(RedisKeyType.SYSTEM_CONFIG_MAP.key);