fix(接口测试): 修复定时任务的创建人和报告的操作人不符合的缺陷
--bug=1039625 --user=王孝刚 【项目任务中心】定时任务列表操作人和执行完成后实时任务查看的操作人不一致 https://www.tapd.cn/55049933/s/1501505
This commit is contained in:
parent
846d1face4
commit
68a8c68041
|
@ -16,7 +16,6 @@ import org.quartz.SchedulerException;
|
|||
import org.quartz.TriggerKey;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
|
@ -140,7 +139,7 @@ public class ScheduleService {
|
|||
}
|
||||
|
||||
|
||||
JobDataMap jobDataMap = scheduleManager.getDefaultJobDataMap(schedule, scheduleConfig.getCron(), operator);
|
||||
JobDataMap jobDataMap = scheduleManager.getDefaultJobDataMap(schedule, scheduleConfig.getCron(), schedule.getCreateUser());
|
||||
|
||||
/*
|
||||
scheduleManager.modifyCronJobTime方法如同它的方法名所说,只能修改定时任务的触发时间。
|
||||
|
|
Loading…
Reference in New Issue