Commit 80aef7ef by huangfusuper

取消实例异常

parent cc3b1d99
...@@ -64,7 +64,9 @@ public class ApiFlowFindServiceImpl implements ApiFlowFindService { ...@@ -64,7 +64,9 @@ public class ApiFlowFindServiceImpl implements ApiFlowFindService {
Function.identity(), Function.identity(),
(c1, c2) -> c1.getTriggerTime() > c2.getTriggerTime() ? c1 : c2)).values(); (c1, c2) -> c1.getTriggerTime() > c2.getTriggerTime() ? c1 : c2)).values();
log.debug("---------查询到有{}个实例-------", runRecordingByFlowNamesAndWorkspace); log.debug("---------查询到有{}个实例-------", runRecordingByFlowNamesAndWorkspace);
ValidationUtil.isTrueValidation(CollectionUtil.isEmpty(runRecordingByFlowNamesAndWorkspace), "没有找到对应的运行实例!"); if(CollectionUtil.isEmpty(runRecordingByFlowNamesAndWorkspace)) {
return null;
}
return buildRunRecordingStatus(new ArrayList<>(runRecordings)); return buildRunRecordingStatus(new ArrayList<>(runRecordings));
} }
......
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