feat:(1.3.0-beta1): 修复创建、修改任务后,查询任务列表异常的问题
This commit is contained in:
parent
f20fa309b9
commit
cf20fd795e
@ -151,8 +151,6 @@ public class JobServiceImpl implements JobService {
|
||||
% systemProperties.getBucketTotal());
|
||||
job.setNextTriggerAt(calculateNextTriggerAt(jobRequestVO, DateUtils.toNowMilli()));
|
||||
job.setNamespaceId(UserSessionUtils.currentUserSession().getNamespaceId());
|
||||
job.setNotifyIds(JsonUtil.toJsonString(jobRequestVO.getNotifyIds()));
|
||||
job.setOwnerId(jobRequestVO.getOwnerId());
|
||||
job.setId(null);
|
||||
return 1 == jobMapper.insert(job);
|
||||
}
|
||||
@ -166,8 +164,6 @@ public class JobServiceImpl implements JobService {
|
||||
|
||||
// 判断常驻任务
|
||||
Job updateJob = JobConverter.INSTANCE.convert(jobRequestVO);
|
||||
updateJob.setNotifyIds(JsonUtil.toJsonString(jobRequestVO.getNotifyIds()));
|
||||
updateJob.setOwnerId(jobRequestVO.getOwnerId());
|
||||
updateJob.setResident(isResident(jobRequestVO));
|
||||
updateJob.setNamespaceId(job.getNamespaceId());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user