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
b25328ce
Commit
b25328ce
authored
Sep 18, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文档问题处理
parent
9dbc3b77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+7
-7
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
b25328ce
...
@@ -1055,14 +1055,14 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1055,14 +1055,14 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
if
(
StringUtils
.
isNotEmpty
(
gatewayId
))
{
if
(
StringUtils
.
isNotEmpty
(
gatewayId
))
{
Map
<
String
,
String
>
map
=
monitorFanIndicatorregionMapper
.
getMajorBoosterStationInfoBySort
(
gatewayId
,
routeName
);
Map
<
String
,
String
>
map
=
monitorFanIndicatorregionMapper
.
getMajorBoosterStationInfoBySort
(
gatewayId
,
routeName
);
Map
<
String
,
List
<
String
>>
queryCodtion
=
new
HashMap
<>();
Map
<
String
,
List
<
String
>>
queryCodtion
=
new
HashMap
<>();
Map
<
String
,
String
>
shoudQueryCondtion
=
new
HashMap
<>();
Map
<
String
,
String
>
likeMap
=
new
HashMap
<>();
queryCodtion
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
gatewayId
));
queryCodtion
.
put
(
CommonConstans
.
QueryStringGateWayId
,
Arrays
.
asList
(
gatewayId
));
queryCodtion
.
put
(
CommonConstans
.
QueryStringSystemType
,
Arrays
.
asList
(
"开关
"
));
queryCodtion
.
put
(
CommonConstans
.
QueryStringSystemType
Keyword
,
Arrays
.
asList
(
"模拟量
"
));
shoudQueryCondtion
.
put
(
CommonConstans
.
QueryStringFrontMoudle
,
map
.
get
(
"boosterName"
));
likeMap
.
put
(
CommonConstans
.
QueryStringFrontMoudleNotKeyWord
,
map
.
get
(
"boosterName"
));
if
(
"1主变高压侧"
.
equals
(
map
.
get
(
"boosterName"
))
||
"1主变低压侧"
.
equals
(
map
.
get
(
"boosterName"
)))
{
if
(
"1主变高压侧"
.
equals
(
map
.
get
(
"boosterName"
))
||
"1主变低压侧"
.
equals
(
map
.
get
(
"boosterName"
)))
{
shoudQueryCondtion
.
put
(
CommonConstans
.
QueryStringFrontMoudle
,
map
.
get
(
"压侧"
));
likeMap
.
put
(
CommonConstans
.
QueryStringFrontMoudleNotKeyWord
,
map
.
get
(
"压侧"
));
List
<
ESEquipments
>
listData
=
commonServiceImpl
.
getListDataByCondtions
(
queryCodtion
,
shoudQueryCondtion
,
ESEquipments
.
class
);
List
<
ESEquipments
>
listData
=
commonServiceImpl
.
getListDataByCondtions
AndLike
(
queryCodtion
,
null
,
ESEquipments
.
class
,
likeMap
);
;
// 主变高压侧
// 主变高压侧
Map
<
String
,
String
>
zbGYC
=
listData
.
stream
().
filter
(
t
->
t
.
getFrontModule
().
contains
(
"1主变高压侧"
)).
collect
(
Collectors
.
toMap
(
ESEquipments:
:
getDisplayName
,
ESEquipments:
:
getValue
));
Map
<
String
,
String
>
zbGYC
=
listData
.
stream
().
filter
(
t
->
t
.
getFrontModule
().
contains
(
"1主变高压侧"
)).
collect
(
Collectors
.
toMap
(
ESEquipments:
:
getDisplayName
,
ESEquipments:
:
getValue
));
List
<
Map
<
String
,
String
>>
zbList
=
new
ArrayList
<>();
List
<
Map
<
String
,
String
>>
zbList
=
new
ArrayList
<>();
...
@@ -1088,7 +1088,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1088,7 +1088,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
}
else
{
}
else
{
List
<
ESEquipments
>
listData
=
commonServiceImpl
.
getListDataByCondtions
(
queryCodtion
,
shoudQueryCondtion
,
ESEquipments
.
class
);
List
<
ESEquipments
>
listData
=
commonServiceImpl
.
getListDataByCondtions
AndLike
(
queryCodtion
,
null
,
ESEquipments
.
class
,
likeMap
);
ArrayList
<
Map
<
String
,
String
>>
resultList
=
new
ArrayList
<>();
ArrayList
<
Map
<
String
,
String
>>
resultList
=
new
ArrayList
<>();
listData
.
forEach
(
item
->
{
listData
.
forEach
(
item
->
{
HashMap
<
String
,
String
>
stringStringHashMap
=
new
HashMap
<>();
HashMap
<
String
,
String
>
stringStringHashMap
=
new
HashMap
<>();
...
...
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