Commit 76a374ef by huangfusuper

Merge remote-tracking branch 'origin/developer' into developer

parents 316fcdab d3ceff68
...@@ -381,7 +381,7 @@ public class ApiFlowServiceImpl implements ApiFlowService { ...@@ -381,7 +381,7 @@ public class ApiFlowServiceImpl implements ApiFlowService {
*/ */
private void checkFlow(Workspace workspace, PluginFlow flow, HashSet<String> flowNameSet, HashSet<String> fromFlowSet, HashSet<String> toFlowSet, HashMap<String, Integer> lineMap) { private void checkFlow(Workspace workspace, PluginFlow flow, HashSet<String> flowNameSet, HashSet<String> fromFlowSet, HashSet<String> toFlowSet, HashMap<String, Integer> lineMap) {
//校验是否存在重名工作流 //校验是否存在重名工作流
ValidationUtil.isTrueValidation(!flowNameSet.add(flow.getName()), "同一个工作空间内工作流名称不允许重复!"); ValidationUtil.isTrueValidation(!flowNameSet.add(flow.getName()), "【"+ flow.getName() +"】工作流重复,同一个工作空间内工作流名称不允许重复!");
fromFlowSet.add(flow.getName()); fromFlowSet.add(flow.getName());
List<PluginBaseNode> nodeList = flow.getNodeList(); List<PluginBaseNode> nodeList = flow.getNodeList();
//用来校验同一工作流下是否有重复的节点 //用来校验同一工作流下是否有重复的节点
......
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