自动化立体仓库 - WMS系统
pang.jiabao
2 天以前 3cb50aaf224b6a2afb98dc0bac0bb4ab10843b75
src/main/java/com/zy/asrs/task/AutoReportingScheduler.java
@@ -8,8 +8,6 @@
import com.zy.system.entity.Config;
import com.zy.system.service.ConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
@@ -34,8 +32,8 @@
    private ConfigService configService;
    //    @Scheduled(cron = "0 0/10 * * * ? ")
    @Scheduled(cron = "0/10 * * * * ? ")
    @Async("orderThreadPool")
//    @Scheduled(cron = "0/10 * * * * ? ")
//    @Async("orderThreadPool")
    void execute() {
        Config config = configService.selectConfigByCode("AutoReportU8");
        if (config != null && config.getStatus() == 1) {