Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ private void doOnlineScheduler(Schedule schedule) {
}

schedule.setReleaseState(ReleaseState.ONLINE);
schedule.setUpdateTime(new Date());
scheduleMapper.updateById(schedule);

Project project = projectMapper.queryByCode(workflowDefinition.getProjectCode());
Expand Down Expand Up @@ -735,6 +736,7 @@ private void doOfflineScheduler(Schedule schedule) {
log.debug("The schedule is already offline, scheduleId:{}.", schedule.getId());
return;
}
schedule.setUpdateTime(new Date());
schedule.setReleaseState(ReleaseState.OFFLINE);
scheduleMapper.updateById(schedule);
WorkflowDefinition workflowDefinition =
Expand Down
Loading