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
31432033
Commit
31432033
authored
Nov 30, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev1125' of
http://36.40.66.175:5000/moa/amos-boot-biz
into dev1125
parents
9052270a
07e39452
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
12 deletions
+13
-12
DayGenerateEX.java
.../yeejoin/amos/boot/module/hygf/api/dto/DayGenerateEX.java
+1
-1
JpStationDto.java
...m/yeejoin/amos/boot/module/hygf/api/dto/JpStationDto.java
+1
-1
MonthGenerateEX.java
...eejoin/amos/boot/module/hygf/api/dto/MonthGenerateEX.java
+1
-1
YearGenerateEX.java
...yeejoin/amos/boot/module/hygf/api/dto/YearGenerateEX.java
+1
-1
JpStationServiceImpl.java
...ot/module/hygf/biz/service/impl/JpStationServiceImpl.java
+9
-8
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/DayGenerateEX.java
View file @
31432033
...
...
@@ -50,7 +50,7 @@ public class DayGenerateEX {
/**
* 累计发电量
*/
@ExcelProperty
(
value
=
"累计发电量(
k
Wh)"
,
index
=
8
)
@ExcelProperty
(
value
=
"累计发电量(
M
Wh)"
,
index
=
8
)
private
Double
accumulatedPower
;
/**
* 状态
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/JpStationDto.java
View file @
31432033
...
...
@@ -96,7 +96,7 @@ public class JpStationDto extends BaseDto {
/**
* 累计发电量
*/
@ExcelProperty
(
value
=
"累计发电量(
k
Wh)"
,
index
=
6
)
@ExcelProperty
(
value
=
"累计发电量(
M
Wh)"
,
index
=
6
)
private
Double
accumulatedPower
;
@ExcelIgnore
/**
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/MonthGenerateEX.java
View file @
31432033
...
...
@@ -52,6 +52,6 @@ public class MonthGenerateEX {
/**
* 累计发电量
*/
@ExcelProperty
(
value
=
"累计发电量(
k
Wh)"
,
index
=
8
)
@ExcelProperty
(
value
=
"累计发电量(
M
Wh)"
,
index
=
8
)
private
Double
accumulatedPower
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/YearGenerateEX.java
View file @
31432033
...
...
@@ -46,6 +46,6 @@ public class YearGenerateEX {
/**
* 累计发电量
*/
@ExcelProperty
(
value
=
"累计发电量(
k
Wh)"
,
index
=
8
)
@ExcelProperty
(
value
=
"累计发电量(
M
Wh)"
,
index
=
8
)
private
Double
accumulatedPower
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpStationServiceImpl.java
View file @
31432033
...
...
@@ -455,7 +455,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setThirdStationId
(
jpStation
.
getThirdStationId
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()!=
null
?
jpStation
.
getAccumulatedPower
()
*
FD
:
null
);
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()!=
null
?
jpStation
.
getAccumulatedPower
():
null
);
hd
.
setFullhour
(
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
jpStation
.
getAccumulatedPower
()*
FD
/
jpStation
.
getCapacity
())));
hd
.
setCumulativeIncome
(
jpStation
.
getCumulativeIncome
());
ld
.
add
(
hd
);
...
...
@@ -475,7 +475,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setUserName
(
jpStation
.
getUserName
());
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()
!=
null
?
jpStation
.
getAccumulatedPower
()*
FDL:
null
);
hd
.
setFullhour
(
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
jpStation
.
getAccumulatedPower
()/
jpStation
.
getCapacity
())));
hd
.
setCumulativeIncome
(
jpStation
.
getCumulativeIncome
());
ld
.
add
(
hd
);
...
...
@@ -495,7 +495,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setUserName
(
jpStation
.
getUserName
());
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()
!=
null
?
jpStation
.
getAccumulatedPower
()*
FDL:
null
);
hd
.
setThirdStationId
(
jpStation
.
getThirdStationId
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setDayGenerate
(
dayGenerate
.
getGenerate
());
...
...
@@ -521,7 +521,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setThirdStationId
(
jpStation
.
getThirdStationId
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()
!=
null
?
jpStation
.
getAccumulatedPower
()*
FDL:
null
);
hd
.
setMonthGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setMonthIncome
(
dayGenerate
.
getIncome
());
hd
.
setTimeDate
(
dayGenerate
.
getMonthTime
());
...
...
@@ -545,7 +545,8 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setUserName
(
jpStation
.
getUserName
());
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()!=
null
?
jpStation
.
getAccumulatedPower
()*
FDL:
null
);
hd
.
setThirdStationId
(
jpStation
.
getThirdStationId
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setYearGenerate
(
dayGenerate
.
getGenerate
());
...
...
@@ -637,7 +638,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setUserName
(
jpStation
.
getUserName
());
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()
!=
null
?
jpStation
.
getAccumulatedPower
()*
FDL:
null
);
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setDayGenerate
(
dayGenerate
.
getGenerate
());
...
...
@@ -661,7 +662,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setName
(
jpStation
.
getName
());
hd
.
setUserName
(
jpStation
.
getUserName
());
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()
!=
null
?
jpStation
.
getAccumulatedPower
()*
FDL:
null
);
hd
.
setMonthGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setMonthIncome
(
dayGenerate
.
getIncome
());
hd
.
setTimeDate
(
dayGenerate
.
getMonthTime
());
...
...
@@ -684,7 +685,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setName
(
jpStation
.
getName
());
hd
.
setUserName
(
jpStation
.
getUserName
());
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
()
!=
null
?
jpStation
.
getAccumulatedPower
()*
FDL:
null
);
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setYearGenerate
(
dayGenerate
.
getGenerate
());
...
...
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