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
ea23a769
Commit
ea23a769
authored
Apr 12, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
4611618a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
GoodWeDataAcquisitionServiceImpl.java
...i/face/service/impl/GoodWeDataAcquisitionServiceImpl.java
+5
-4
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/GoodWeDataAcquisitionServiceImpl.java
View file @
ea23a769
...
...
@@ -112,16 +112,18 @@ public class GoodWeDataAcquisitionServiceImpl implements GoodWeDataAcquisitionSe
jpStation
.
setAddress
(
goodWeStationList
.
getAddress
());
jpStation
.
setLatitude
(
goodWeStationList
.
getLatitude
());
jpStation
.
setLongitude
(
goodWeStationList
.
getLongitude
());
jpStation
.
setUserName
(
goodWeStationList
.
getOwner_name
());
jpStation
.
setUserName
(
goodWeStationList
.
getOwner_name
()
==
null
?
goodWeStationList
.
getStationname
():
goodWeStationList
.
getOwner_name
()
);
jpStation
.
setUserPhone
(
goodWeStationList
.
getOwner_phone
());
jpStation
.
setStationContact
(
goodWeStationList
.
getOwner_name
());
jpStation
.
setModuleCount
(
0
);
jpStation
.
setRealTimePower
(
goodWeStationList
.
getPac
()
*
GoodWeConstant
.
wToKw
);
jpStation
.
setState
(
GoodWeConstant
.
stationStaus
.
get
(
goodWeStationList
.
getStatus
()+
""
)
);
jpStation
.
setRealTimePower
(
goodWeStationList
.
getPac
()
!=
null
?
goodWeStationList
.
getPac
()
*
GoodWeConstant
.
wToKw
:
null
);
jpStation
.
setState
(
goodWeStationList
.
getStatus
()!=
null
?
GoodWeConstant
.
stationStaus
.
get
(
goodWeStationList
.
getStatus
()+
""
):
null
);
jpStation
.
setDayGenerate
(
goodWeStationList
.
getEday
());
jpStation
.
setDayIncome
(
goodWeStationList
.
getEday_income
());
jpStation
.
setAccumulatedPower
(
goodWeStationList
.
getEtotal
());
jpStation
.
setCumulativeIncome
(
goodWeStationList
.
getEtotal_income
());
if
(
ObjectUtils
.
isEmpty
(
jpStation
.
getSequenceNbr
()))
{
jpStation
.
setCreateTime
(
new
Date
(
goodWeStationList
.
getCreatedTime
()));
if
(
ObjectUtils
.
isNotEmpty
(
goodWeStationList
.
getTurnon_time
()))
{
...
...
@@ -134,7 +136,6 @@ public class GoodWeDataAcquisitionServiceImpl implements GoodWeDataAcquisitionSe
}
//增加td 电站区域公司,经销商绑定表
// TdJpStation tdJpStation = tdJpStationMapper.selectOne(new QueryWrapper<TdJpStation>().
// eq("third_code",PVProducerInfoEnum.GDW.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