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
c3c0554f
Commit
c3c0554f
authored
May 25, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加待运行节点统计
parent
414af5d8
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 @
c3c0554f
...
@@ -902,11 +902,11 @@ public class ApiFlowServiceImpl implements ApiFlowService {
...
@@ -902,11 +902,11 @@ public class ApiFlowServiceImpl implements ApiFlowService {
*/
*/
public
StatisticData
statisticsNodeData
(
List
<
RunRecording
>
betweenRunRecording
)
{
public
StatisticData
statisticsNodeData
(
List
<
RunRecording
>
betweenRunRecording
)
{
//剔除未运行状态的实例
//剔除未运行状态的实例
List
<
RunRecording
>
runRecordings
=
betweenRunRecording
.
stream
().
filter
(
recording
->
!
recording
.
getFlowStatus
().
equals
(
"1"
)).
collect
(
Collectors
.
toList
());
//
List<RunRecording> runRecordings = betweenRunRecording.stream().filter(recording -> !recording.getFlowStatus().equals("1")).collect(Collectors.toList());
List
<
JobTaskRunLogWithBLOBs
>
logWithBLOBs
=
new
ArrayList
<>(
32
);
List
<
JobTaskRunLogWithBLOBs
>
logWithBLOBs
=
new
ArrayList
<>(
32
);
int
total
=
0
;
int
total
=
0
;
//查询所有的节点
//查询所有的节点
for
(
RunRecording
runRecording
:
runRecordings
)
{
for
(
RunRecording
runRecording
:
betweenRunRecording
)
{
total
+=
runRecording
.
getFlowNodeCount
();
total
+=
runRecording
.
getFlowNodeCount
();
String
runId
=
runRecording
.
getRunId
();
String
runId
=
runRecording
.
getRunId
();
Integer
flowId
=
runRecording
.
getFlowId
();
Integer
flowId
=
runRecording
.
getFlowId
();
...
...
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