fix(测试跟踪): 测试计划创建人会变更为最后开启任务的人

--bug=1021720 --user=陈建星 【测试跟踪】用户A创建测试计划a,开启定时任务然后又关闭了。用户B开启这个定时任务后创建人显示错误 https://www.tapd.cn/55049933/s/1324637
This commit is contained in:
chenjianxing 2023-01-09 17:48:21 +08:00 committed by jianxing
parent 2eec337772
commit f158eba289
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ public class BaseScheduleService {
public int editSchedule(Schedule schedule) {
schedule.setUpdateTime(System.currentTimeMillis());
schedule.setCreateTime(null);
schedule.setUserId(null);
return scheduleMapper.updateByPrimaryKeySelective(schedule);
}