Skip to content

Commit

Permalink
[Fix][Server] Fix update job sla error
Browse files Browse the repository at this point in the history
  • Loading branch information
zixi0825 authored Dec 9, 2023
1 parent 58d65ba commit 14087c9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public boolean createOrUpdateSlaJob(SlaJobCreateOrUpdate createOrUpdate) {
remove(wrapper);

SlaJob slaJob = new SlaJob();
BeanUtils.copyProperties(createOrUpdate, slaJob);
slaJob.setJobId(createOrUpdate.getJobId());
slaJob.setWorkspaceId(createOrUpdate.getWorkspaceId());
slaJob.setSlaId(createOrUpdate.getSlaId());
slaJob.setCreateBy(ContextHolder.getUserId());
slaJob.setUpdateBy(ContextHolder.getUserId());
slaJob.setUpdateTime(LocalDateTime.now());
Expand Down

0 comments on commit 14087c9

Please sign in to comment.