Commit 0b342a84 by huangfusuper

补批判断节点状态失效BUG

parent ae96fb05
...@@ -15,7 +15,6 @@ public enum RunRecordingEnum { ...@@ -15,7 +15,6 @@ public enum RunRecordingEnum {
,FLOW_STATUS_RUN_ING("2","工作流运行中") ,FLOW_STATUS_RUN_ING("2","工作流运行中")
,FLOW_STATUS_IS_STOP("3","工作流被暂停") ,FLOW_STATUS_IS_STOP("3","工作流被暂停")
,FLOW_STATUS_IS_END("4","工作流已经完结") ,FLOW_STATUS_IS_END("4","工作流已经完结")
,FLOW_STATUS_IS_LOAD("5","工作流已经被加载")
,FAIL_FAST_NO("0","不快速失败") ,FAIL_FAST_NO("0","不快速失败")
,FAIL_FAST_YES("1","快速失败") ,FAIL_FAST_YES("1","快速失败")
; ;
......
...@@ -89,8 +89,7 @@ public class RunRecordingServiceImpl implements RunRecordingService { ...@@ -89,8 +89,7 @@ public class RunRecordingServiceImpl implements RunRecordingService {
for (RunRecording runRecording : runRecordings) { for (RunRecording runRecording : runRecordings) {
//判断当前的实例 中是否有 未完成的 //判断当前的实例 中是否有 未完成的
if (RunRecordingEnum.FLOW_STATUS_RUN_ING.getCode().equals(runRecording.getFlowStatus()) || if (RunRecordingEnum.FLOW_STATUS_RUN_ING.getCode().equals(runRecording.getFlowStatus()) ||
RunRecordingEnum.FLOW_STATUS_IS_STOP.getCode().equals(runRecording.getFlowStatus()) || RunRecordingEnum.FLOW_STATUS_IS_STOP.getCode().equals(runRecording.getFlowStatus())) {
RunRecordingEnum.FLOW_STATUS_IS_LOAD.getCode().equals(runRecording.getFlowStatus())) {
return true; return true;
} }
} }
......
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