Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
guowl3 committed Nov 14, 2024
1 parent 67fd61e commit a6a3a2e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ public void updateStatusById(Long id, TaskStatus status) {
scheduleTaskRepository.updateStatusById(id, status);
}

public int updateStatusById(Long id, TaskStatus newStatus, List<String> previousStatus) {
return scheduleTaskRepository.updateStatusById(id, newStatus, previousStatus);
}

public void update(ScheduleTask scheduleTask) {
ScheduleTaskEntity entity = scheduleTaskMapper.modelToEntity(scheduleTask);
scheduleTaskRepository.update(entity);
Expand Down

0 comments on commit a6a3a2e

Please sign in to comment.