Commit 3829d681 by huangfusuper

暂停计数BUG

parent 57104d46
......@@ -1686,8 +1686,9 @@ public class ApiFlowServiceImpl implements ApiFlowService {
if (mainRunRecording != null) {
stopCount = mainRunRecording.getStopCount();
}
stopCount = stopCount-1;
if(stopCount !=null && stopCount > 0 && "1".equals(stopFlowParam.getAllStartFlow())){
mainRunRecording.setStopCount(--stopCount);
mainRunRecording.setStopCount(stopCount);
runRecordingMapper.updateRunRecordingById(mainRunRecording);
}else{
runRecordingMapper.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