mirror of https://gitee.com/stylefeng/roses
【timer】更新定时任务错误参数
parent
36dd0e1226
commit
774b2ba42f
|
@ -32,7 +32,7 @@ public class TaskRunListener implements ApplicationListener<ApplicationStartedEv
|
|||
// 获取数据库所有开启状态的任务
|
||||
SysTimersParam sysTimersParam = new SysTimersParam();
|
||||
sysTimersParam.setJobStatus(TimerJobStatusEnum.RUNNING.getCode());
|
||||
List<SysTimers> list = sysTimersService.list(sysTimersParam);
|
||||
List<SysTimers> list = sysTimersService.findList(sysTimersParam);
|
||||
|
||||
// 添加定时任务到调度器
|
||||
for (SysTimers sysTimers : list) {
|
||||
|
|
Loading…
Reference in New Issue