Skip to content

Commit

Permalink
formate code
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyan1998 committed Oct 10, 2023
1 parent 4f5a19d commit 7a67067
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ public void initTenantByTaskId(Integer id) {
public boolean changeTaskLifeRecyle(Integer taskId, JobLifeCycle lifeCycle) {
TaskDTO taskInfoById = getTaskInfoById(taskId);
taskInfoById.setStep(lifeCycle.getValue());
if (lifeCycle == JobLifeCycle.ONLINE){
if (lifeCycle == JobLifeCycle.ONLINE) {
taskVersionService.createTaskVersionSnapshot(taskInfoById);
}
return saveOrUpdate(taskInfoById.buildTask());
Expand Down

0 comments on commit 7a67067

Please sign in to comment.