Commit fd3e90d9 by guominglei

插件端开启调度和撤销调度

parent 680f9c0e
......@@ -151,12 +151,12 @@ public class JobScheduleHelper{
if (CollectionUtil.isEmpty(jobTaskRunLogList)){
return;
}
jobTaskRunLogList.forEach(e ->{
if(!("1".equals(e.getRunCode()) || "3".equals(e.getRunCode()))){
for (JobTaskRunLog jobTaskRunLog :jobTaskRunLogList){
if(!("1".equals(jobTaskRunLog.getRunCode()) || "3".equals(jobTaskRunLog.getRunCode()))){
return;
}
});
}
JobTaskSchedule jobTaskSchedule = new JobTaskSchedule();
BeanUtils.copyProperties(jobTask,jobTaskSchedule);
jobTaskSchedules.add(jobTaskSchedule);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment