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
2a5a9af0
Commit
2a5a9af0
authored
Oct 25, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改采集数据默认值
parent
f51e00d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
ImasterDataServiceImpl.java
...ouseholdapi/face/service/impl/ImasterDataServiceImpl.java
+9
-3
KsolarDataAcquisitionServiceImpl.java
...i/face/service/impl/KsolarDataAcquisitionServiceImpl.java
+2
-0
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/ImasterDataServiceImpl.java
View file @
2a5a9af0
...
...
@@ -198,8 +198,14 @@ public class ImasterDataServiceImpl implements ImasterDataService {
jpStation
.
setAddress
(
imasterStationList
.
getPlantAddress
());
jpStation
.
setLongitude
(
imasterStationList
.
getLongitude
());
jpStation
.
setLatitude
(
imasterStationList
.
getLatitude
());
// jpStation.setUserName(imasterStationDetail.getUsername());
// jpStation.setUserPhone(String.valueOf(imasterStationDetail.getUsermobile()));
jpStation
.
setUserName
(
"三一硅能(株洲)有限公司"
);
jpStation
.
setUserPhone
(
"18511539874"
);
jpStation
.
setOnGridType
(
"自发自用"
);
//jpStation.setOnGridTime(new Date("2023-05-22"));
// jpStation.setRealTimePower();
jpStation
.
setCumulativeIncome
(
imasterStationDetail
.
getTotal_income
());
jpStation
.
setPrice
(
0.45
);
jpStation
.
setRatedPower
(
100
D
);
jpStation
.
setStationContact
(
imasterStationList
.
getContactPerson
());
// jpStation.setModuleCount(ObjectUtils.isEmpty(Math.toIntExact(imasterStationDetail.getModule()))?0:Math.toIntExact(imasterStationDetail.getModule()));
//并网类型
...
...
@@ -336,7 +342,7 @@ public class ImasterDataServiceImpl implements ImasterDataService {
jpCollector
.
setAddr
(
imasterStationList
.
getPlantAddress
());
jpCollector
.
setName
(
imasterCollectorList
.
getDevName
());
//类型
// jpCollector.setType(collectorDetailDto.getModel()
);
jpCollector
.
setType
(
"通信模块"
);
//更新时间
jpCollector
.
setUpdateTime
(
new
Date
());
//出场日期
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/KsolarDataAcquisitionServiceImpl.java
View file @
2a5a9af0
...
...
@@ -164,6 +164,8 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
jpStation
.
setPrice
(
ksolarStationDetail
.
getElecPrice
());
jpStation
.
setAddress
(
ksolarStationDetail
.
getStationAddressDetail
());
jpStation
.
setLongitude
(
ksolarStationDetail
.
getLongitude
());
jpStation
.
setOnGridType
(
"自发自用"
);
//客户确认
jpStation
.
setRatedPower
(
100
D
);
//客户确认
jpStation
.
setLatitude
(
ksolarStationDetail
.
getLatitude
());
jpStation
.
setThirdCode
(
PVProducerInfoEnum
.
KSOLAR
.
getCode
());
// 业主姓名
...
...
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