pang.jiabao
7 天以前 b9f5b7c6c0a66fa04e12ab2f85c0f015ad024a1a
src/main/java/com/zy/asrs/task/TaskLogScheduler.java
@@ -33,8 +33,8 @@
    private TaskWrkReportService taskWrkReportService;
    @Scheduled(cron = "0/3 * * * * ? ")
    public void execute() throws IOException {
    @Scheduled(cron = "0/5 * * * * ? ")
    public synchronized void execute() throws IOException {
        for (TaskWrk taskWrk : taskWrkService.selectToBeHistoryData()) {
            switch (taskWrk.getStatus()) {
                case 4: