|
|
@ -1651,6 +1651,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro |
|
|
|
if (null != schedule) { |
|
|
|
if (null != schedule) { |
|
|
|
ProcessDefinition newProcessDefinition = processDefinitionMapper.queryByCode(processDefinition.getCode()); |
|
|
|
ProcessDefinition newProcessDefinition = processDefinitionMapper.queryByCode(processDefinition.getCode()); |
|
|
|
schedule.setProcessDefinitionCode(newProcessDefinition.getCode()); |
|
|
|
schedule.setProcessDefinitionCode(newProcessDefinition.getCode()); |
|
|
|
|
|
|
|
schedule.setId(null); |
|
|
|
schedule.setUserId(loginUser.getId()); |
|
|
|
schedule.setUserId(loginUser.getId()); |
|
|
|
schedule.setCreateTime(now); |
|
|
|
schedule.setCreateTime(now); |
|
|
|
schedule.setUpdateTime(now); |
|
|
|
schedule.setUpdateTime(now); |
|
|
|