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