src/main/java/com/zy/asrs/task/ReportDataScheduler.java
@@ -15,6 +15,7 @@ import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; @@ -58,6 +59,7 @@ @Scheduled(fixedDelay = 5000) @Async("reportThreadPool") public void execute() { log.info("定时任务开始执行"); if (!flag) {