fix(接口测试): 修复定时任务的创建人和报告的操作人不符合的缺陷

--bug=1039625 --user=王孝刚 【项目任务中心】定时任务列表操作人和执行完成后实时任务查看的操作人不一致
https://www.tapd.cn/55049933/s/1501505
This commit is contained in:
wxg0103 2024-04-18 19:22:31 +08:00 committed by 刘瑞斌
parent 846d1face4
commit 68a8c68041
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ import org.quartz.SchedulerException;
import org.quartz.TriggerKey; import org.quartz.TriggerKey;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import java.util.ArrayList;
import java.util.List; import java.util.List;
@Transactional(rollbackFor = Exception.class) @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方法如同它的方法名所说只能修改定时任务的触发时间 scheduleManager.modifyCronJobTime方法如同它的方法名所说只能修改定时任务的触发时间