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
13c7c41d
Commit
13c7c41d
authored
Jan 11, 2021
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据质检开始 基于多个runId
parent
a7aa4ce1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ApiFlowServiceImpl.java
...c/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
+2
-2
No files found.
byit-myth-admin/src/main/java/com/byit/service/impl/ApiFlowServiceImpl.java
View file @
13c7c41d
...
...
@@ -1532,8 +1532,8 @@ public class ApiFlowServiceImpl implements ApiFlowService {
List
<
RunRecording
>
runRecordings
=
runRecordingMapper
.
runIngRunRecording
(
flowName
,
byName
.
getWorkspaceId
());
ValidationUtil
.
isTrueValidation
(
CollectionUtil
.
isEmpty
(
runRecordings
),
"没有正在运行中的实例!"
);
List
<
RunRecording
>
collect
=
runRecordings
.
stream
().
filter
(
runRecording
->
"3"
.
equals
(
runRecording
.
getFlowStatus
())
&&
runId
.
equals
(
runRecording
.
getRunId
())).
collect
(
Collectors
.
toList
());
ValidationUtil
.
isTrueValidation
(
CollectionUtil
.
isEmpty
(
collect
),
"该实例不是暂停状态!"
);
//
List<RunRecording> collect = runRecordings.stream().filter(runRecording -> "3".equals(runRecording.getFlowStatus()) && runId.equals(runRecording.getRunId())).collect(Collectors.toList());
//
ValidationUtil.isTrueValidation(CollectionUtil.isEmpty(collect), "该实例不是暂停状态!");
StopFlowParam
stopFlowParam
=
new
StopFlowParam
();
stopFlowParam
.
setRunIds
(
runId
);
stopFlowParam
.
setFlowName
(
flowName
);
...
...
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