Commit 4ee83049 by huangfusuper

分布式锁

parent cafeabed
......@@ -529,7 +529,6 @@ public class ApiFlowServiceImpl implements ApiFlowService {
Integer waitId = waitingRecordMapper.insertSelective(waitingRecord);
//生成新的工作流实例
newRunRecording.setIsAlarm("1");
runRecordingMapper.saveRunRecording(newRunRecording);
waitingTaskList.forEach(waiting -> {
waiting.setWaitId(waitingRecord.getWaitId());
......@@ -1187,7 +1186,6 @@ public class ApiFlowServiceImpl implements ApiFlowService {
//设置实例
BeanUtils.copyProperties(waitingRecord, runRecording);
runRecording.setFlowStatus("1");
runRecording.setIsAlarm("1");
runRecording.setTriggerTime(System.currentTimeMillis());
runRecording.setWorkspaceId(flow.getWorkspaceId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment