feat: 任务管理

This commit is contained in:
taojinlong
2021-07-08 14:12:30 +08:00
parent 00202fa718
commit 4ee8896a4f
2 changed files with 3 additions and 7 deletions

View File

@@ -42,10 +42,6 @@ public class AppStartListener implements ApplicationListener<ApplicationReadyEve
} else {
scheduleService.addSchedule(task);
}
} else {
if(StringUtils.equalsIgnoreCase(task.getStatus(), TaskStatus.Underway.toString())){
scheduleService.addSchedule(task);
}
}
} catch (Exception e) {
e.printStackTrace();