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
086e36ec
Commit
086e36ec
authored
Nov 16, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.运行监盘首页装机容量接口调整。
parent
4f71f7da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
MonitoringServiceImpl.java
.../module/jxiop/biz/service/impl/MonitoringServiceImpl.java
+8
-9
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/MonitoringServiceImpl.java
View file @
086e36ec
...
@@ -953,9 +953,8 @@ public class MonitoringServiceImpl {
...
@@ -953,9 +953,8 @@ public class MonitoringServiceImpl {
List
<
StationBasic
>
stationBasicListAll
=
stationBasicMapper
.
selectList
(
new
QueryWrapper
<
StationBasic
>().
isNotNull
(
"fan_gateway_id"
));
List
<
StationBasic
>
stationBasicListAll
=
stationBasicMapper
.
selectList
(
new
QueryWrapper
<
StationBasic
>().
isNotNull
(
"fan_gateway_id"
));
List
<
StationBasic
>
fdzList
=
stationBasicListAll
.
stream
().
filter
(
stationBasic
->
stationBasic
.
getStationType
().
equals
(
"FDZ"
)).
collect
(
Collectors
.
toList
());
List
<
StationBasic
>
fdzList
=
stationBasicListAll
.
stream
().
filter
(
stationBasic
->
stationBasic
.
getStationType
().
equals
(
"FDZ"
)).
collect
(
Collectors
.
toList
());
List
<
StationBasic
>
jzsgfdzList
=
stationBasicListAll
.
stream
().
filter
(
stationBasic
->
stationBasic
.
getStationType
().
equals
(
"JZSGFDZ"
)).
collect
(
Collectors
.
toList
());
List
<
StationBasic
>
gfList
=
stationBasicListAll
.
stream
().
filter
(
stationBasic
->
stationBasic
.
getStationType
().
contains
(
"GFDZ"
)).
collect
(
Collectors
.
toList
());
List
<
StationBasic
>
fbsgfdzList
=
stationBasicListAll
.
stream
().
filter
(
stationBasic
->
stationBasic
.
getStationType
().
equals
(
"FBSGFDZ"
)).
collect
(
Collectors
.
toList
());
List
<
StationBasic
>
cnList
=
stationBasicListAll
.
stream
().
filter
(
stationBasic
->
stationBasic
.
getStationType
().
equals
(
"CNDZ"
)).
collect
(
Collectors
.
toList
());
List
<
StationBasic
>
gfList
=
stationBasicListAll
.
stream
().
filter
(
stationBasic
->
!
stationBasic
.
getStationType
().
equals
(
"FDZ"
)).
collect
(
Collectors
.
toList
());
Page
<
HashMap
<
String
,
String
>>
page
=
new
Page
<>(
1
,
10
);
Page
<
HashMap
<
String
,
String
>>
page
=
new
Page
<>(
1
,
10
);
Page
<
HashMap
<
String
,
String
>>
page1
=
new
Page
<>(
1
,
10
);
Page
<
HashMap
<
String
,
String
>>
page1
=
new
Page
<>(
1
,
10
);
Page
<
HashMap
<
String
,
String
>>
page2
=
new
Page
<>(
1
,
10
);
Page
<
HashMap
<
String
,
String
>>
page2
=
new
Page
<>(
1
,
10
);
...
@@ -974,17 +973,17 @@ public class MonitoringServiceImpl {
...
@@ -974,17 +973,17 @@ public class MonitoringServiceImpl {
stringHashMap1
.
put
(
"title"
,
fdzInstall
.
toString
());
stringHashMap1
.
put
(
"title"
,
fdzInstall
.
toString
());
stringHashMap1
.
put
(
"data"
,
String
.
valueOf
(
fdzList
.
size
()));
stringHashMap1
.
put
(
"data"
,
String
.
valueOf
(
fdzList
.
size
()));
list
.
add
(
stringHashMap1
);
list
.
add
(
stringHashMap1
);
//
集中式
光伏电站
//光伏电站
HashMap
<
String
,
String
>
stringHashMap2
=
new
HashMap
<>();
HashMap
<
String
,
String
>
stringHashMap2
=
new
HashMap
<>();
BigDecimal
jzsInstall
=
new
BigDecimal
(
getInstallCapity
(
jzsgfdz
List
));
BigDecimal
jzsInstall
=
new
BigDecimal
(
getInstallCapity
(
gf
List
));
stringHashMap2
.
put
(
"title"
,
jzsInstall
.
toString
());
stringHashMap2
.
put
(
"title"
,
jzsInstall
.
toString
());
stringHashMap2
.
put
(
"data"
,
String
.
valueOf
(
jzsgfdz
List
.
size
()));
stringHashMap2
.
put
(
"data"
,
String
.
valueOf
(
gf
List
.
size
()));
list
.
add
(
stringHashMap2
);
list
.
add
(
stringHashMap2
);
//
分布式光伏电
站
//
储能
站
HashMap
<
String
,
String
>
stringHashMap3
=
new
HashMap
<>();
HashMap
<
String
,
String
>
stringHashMap3
=
new
HashMap
<>();
BigDecimal
fbsInstall
=
new
BigDecimal
(
getInstallCapity
(
fbsgfdz
List
));
BigDecimal
fbsInstall
=
new
BigDecimal
(
getInstallCapity
(
cn
List
));
stringHashMap3
.
put
(
"title"
,
fbsInstall
.
toString
());
stringHashMap3
.
put
(
"title"
,
fbsInstall
.
toString
());
stringHashMap3
.
put
(
"data"
,
String
.
valueOf
(
fbsgfdz
List
.
size
()));
stringHashMap3
.
put
(
"data"
,
String
.
valueOf
(
cn
List
.
size
()));
list
.
add
(
stringHashMap3
);
list
.
add
(
stringHashMap3
);
page
.
setRecords
(
list
);
page
.
setRecords
(
list
);
BigDecimal
gfInstall
=
new
BigDecimal
(
getInstallCapity
(
gfList
));
BigDecimal
gfInstall
=
new
BigDecimal
(
getInstallCapity
(
gfList
));
...
...
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