1
zhang
6 天以前 add29c9dfe37a3147ee1a426e1dba2f42ad741e6
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: