Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
76a374ef
Commit
76a374ef
authored
Aug 18, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
316fcdab
d3ceff68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ApiFlowServiceImpl.java
...c/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
+1
-1
No files found.
byit-myth-admin/src/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
View file @
76a374ef
...
@@ -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
();
//用来校验同一工作流下是否有重复的节点
//用来校验同一工作流下是否有重复的节点
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment