#
luxiaotao1123
2 天以前 3e6cd2231fc99a855129d1a293b8d65adf1683b5
zy-acs-manager/src/main/java/com/zy/acs/manager/core/scheduler/test/AutoRunScheduler.java
@@ -54,6 +54,11 @@
//    @Scheduled(cron = "0/1 * * * * ? ")
    private void execute() {
        if (!configService.getVal("TaskAssignMode", Boolean.class)) { return; }
        Boolean maintainLocSts = configService.getVal("maintainLocSts", Boolean.class);
        if (!maintainLocSts) {
            log.error("failed to run auto agv task, the maintainLocSts is false");
            return;
        }
        AgvModel agvModel = agvModelService.getOne(new LambdaQueryWrapper<AgvModel>().eq(AgvModel::getType, DEFAULT_AGV_MODEL.toString()));
        if (null == agvModel) { return; }