Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
aa424247
Commit
aa424247
authored
Mar 07, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化全景回溯过滤条件
parent
c1a57675
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
KafkaAnalyseController.java
...t/module/jxiop/biz/controller/KafkaAnalyseController.java
+3
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/KafkaAnalyseController.java
View file @
aa424247
...
...
@@ -380,13 +380,14 @@ public class KafkaAnalyseController {
if
(
rootNodeName
.
equals
(
"all"
))
{
return
fullViewRecallInfoDTOS
;
}
else
{
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS1
=
fullViewRecallInfoDTOS
.
get
(
0
).
getChildren
().
stream
().
filter
(
item
->
item
.
getName
().
equals
(
rootNodeName
)).
collect
(
Collectors
.
toList
());
List
<
String
>
stringList
=
Arrays
.
asList
(
rootNodeName
,
rootNodeName
.
replace
(
"片区"
,
"区域"
),
rootNodeName
.
replace
(
"区域"
,
"片区"
),
rootNodeName
.
replace
(
"电站"
,
"电场"
),
rootNodeName
.
replace
(
"电场"
,
"电站"
));
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS1
=
fullViewRecallInfoDTOS
.
get
(
0
).
getChildren
().
stream
().
filter
(
item
->
stringList
.
contains
(
item
.
getName
())).
collect
(
Collectors
.
toList
());
if
(
fullViewRecallInfoDTOS1
.
size
()
>
0
)
{
return
fullViewRecallInfoDTOS1
;
}
else
{
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS2
=
fullViewRecallInfoDTOS
.
get
(
0
).
getChildren
();
for
(
FullViewRecallInfoDTO
fullViewRecallInfoDTO
:
fullViewRecallInfoDTOS2
)
{
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS3
=
fullViewRecallInfoDTO
.
getChildren
().
stream
().
filter
(
item
->
item
.
getName
().
equals
(
rootNodeName
)).
collect
(
Collectors
.
toList
());
List
<
FullViewRecallInfoDTO
>
fullViewRecallInfoDTOS3
=
fullViewRecallInfoDTO
.
getChildren
().
stream
().
filter
(
item
->
stringList
.
contains
(
item
.
getName
()
)).
collect
(
Collectors
.
toList
());
if
(
fullViewRecallInfoDTOS3
.
size
()>
0
){
return
fullViewRecallInfoDTOS3
;
}
...
...
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