fix bug#1336 set start/end time before complement the next process

This commit is contained in:
lenboo 2020-07-28 17:57:49 +08:00
parent 39182568b2
commit 82295eea52

View File

@ -308,10 +308,10 @@ public class MasterExecThread implements Runnable {
processInstance.getProcessDefinition().getGlobalParamList(),
CommandType.COMPLEMENT_DATA, processInstance.getScheduleTime()));
processInstance.setId(0);
processInstance.setStartTime(new Date());
processInstance.setEndTime(null);
processService.saveProcessInstance(processInstance);
}
}