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
5175d81e
Commit
5175d81e
authored
Apr 02, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电站数据
parent
fd48fe02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
SofarDataAcquisitionServiceImpl.java
...pi/face/service/impl/SofarDataAcquisitionServiceImpl.java
+3
-1
SunlightServiceImpl.java
...i/householdapi/face/service/impl/SunlightServiceImpl.java
+3
-1
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/SofarDataAcquisitionServiceImpl.java
View file @
5175d81e
...
@@ -109,7 +109,9 @@ public class SofarDataAcquisitionServiceImpl implements SofarDataAcquisitionServ
...
@@ -109,7 +109,9 @@ public class SofarDataAcquisitionServiceImpl implements SofarDataAcquisitionServ
Map
<
String
,
JpStation
>
bodyparam
=
new
HashMap
<>();
Map
<
String
,
JpStation
>
bodyparam
=
new
HashMap
<>();
if
(
jpStations
!=
null
&&
jpStations
.
size
()>
0
){
if
(
jpStations
!=
null
&&
jpStations
.
size
()>
0
){
bodyparam
=
jpStations
.
stream
().
collect
(
Collectors
.
toMap
(
JpStation:
:
getThirdStationId
,
Function
.
identity
()));
for
(
JpStation
jpStation
:
jpStations
)
{
bodyparam
.
put
(
jpStation
.
getThirdStationId
(),
jpStation
);
}
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/SunlightServiceImpl.java
View file @
5175d81e
...
@@ -130,7 +130,9 @@ public class SunlightServiceImpl implements SunlightService {
...
@@ -130,7 +130,9 @@ public class SunlightServiceImpl implements SunlightService {
Map
<
String
,
JpStation
>
bodyparam
=
new
HashMap
<>();
Map
<
String
,
JpStation
>
bodyparam
=
new
HashMap
<>();
if
(
jpStations
!=
null
&&
jpStations
.
size
()>
0
){
if
(
jpStations
!=
null
&&
jpStations
.
size
()>
0
){
bodyparam
=
jpStations
.
stream
().
collect
(
Collectors
.
toMap
(
JpStation:
:
getThirdStationId
,
Function
.
identity
()));
for
(
JpStation
jpStation
:
jpStations
)
{
bodyparam
.
put
(
jpStation
.
getThirdStationId
(),
jpStation
);
}
}
}
...
...
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