Commit 78e7837d by huangfusuper

取消内嵌节点不允许暂停的设计

parent 6ce45dda
...@@ -1220,6 +1220,7 @@ public class ApiFlowServiceImpl implements ApiFlowService { ...@@ -1220,6 +1220,7 @@ public class ApiFlowServiceImpl implements ApiFlowService {
/** /**
* 暂停的是整个工作流 * 暂停的是整个工作流
*
* @param runId * @param runId
* @return * @return
*/ */
...@@ -1693,11 +1694,11 @@ public class ApiFlowServiceImpl implements ApiFlowService { ...@@ -1693,11 +1694,11 @@ public class ApiFlowServiceImpl implements ApiFlowService {
if (mainRunRecording != null) { if (mainRunRecording != null) {
stopCount = mainRunRecording.getStopCount(); stopCount = mainRunRecording.getStopCount();
} }
stopCount = stopCount-1; stopCount = stopCount - 1;
if(stopCount !=null && stopCount > 0 && "1".equals(stopFlowParam.getAllStartFlow())){ if (stopCount != null && stopCount > 0 && "1".equals(stopFlowParam.getAllStartFlow())) {
mainRunRecording.setStopCount(stopCount); mainRunRecording.setStopCount(stopCount);
runRecordingMapper.updateRunRecordingById(mainRunRecording); runRecordingMapper.updateRunRecordingById(mainRunRecording);
}else{ } else {
runRecordingMapper.startByRunId(runId); runRecordingMapper.startByRunId(runId);
jobTaskMapper.startByRunId(runId); jobTaskMapper.startByRunId(runId);
} }
......
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