|
|
@ -2197,6 +2197,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro |
|
|
|
Schedule scheduleObj = scheduleMapper.queryByProcessDefinitionCode(oldProcessDefinitionCode); |
|
|
|
Schedule scheduleObj = scheduleMapper.queryByProcessDefinitionCode(oldProcessDefinitionCode); |
|
|
|
if (scheduleObj != null) { |
|
|
|
if (scheduleObj != null) { |
|
|
|
scheduleObj.setId(null); |
|
|
|
scheduleObj.setId(null); |
|
|
|
|
|
|
|
scheduleObj.setUserId(loginUser.getId()); |
|
|
|
scheduleObj.setProcessDefinitionCode(processDefinition.getCode()); |
|
|
|
scheduleObj.setProcessDefinitionCode(processDefinition.getCode()); |
|
|
|
scheduleObj.setReleaseState(ReleaseState.OFFLINE); |
|
|
|
scheduleObj.setReleaseState(ReleaseState.OFFLINE); |
|
|
|
scheduleObj.setCreateTime(date); |
|
|
|
scheduleObj.setCreateTime(date); |
|
|
|