Browse Source

Update ProcessDefinitionService.java

pull/2/head
mazhong 5 years ago committed by GitHub
parent
commit
e349ab4b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java

2
escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java

@ -487,7 +487,7 @@ public class ProcessDefinitionService extends BaseDAGService {
// set status // set status
schedule.setReleaseState(ReleaseState.OFFLINE); schedule.setReleaseState(ReleaseState.OFFLINE);
scheduleMapper.update(schedule); scheduleMapper.update(schedule);
deleteSchedule(project.getId(), id); deleteSchedule(project.getId(), schedule.getId());
} }
break; break;
} }

Loading…
Cancel
Save