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
5a8526e7
Commit
5a8526e7
authored
Nov 21, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电站日发小时数,小数点位
parent
4f94d207
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
JpStationMapper.xml
...f-api/src/main/resources/mapper/mysql/JpStationMapper.xml
+2
-2
JpStationServiceImpl.java
...ot/module/hygf/biz/service/impl/JpStationServiceImpl.java
+6
-6
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/JpStationMapper.xml
View file @
5a8526e7
...
@@ -187,10 +187,10 @@
...
@@ -187,10 +187,10 @@
<if
test=
"dto.thirdStationId!=null"
>
<if
test=
"dto.thirdStationId!=null"
>
and hygf_jp_station.third_station_id =#{dto.thirdStationId}
and hygf_jp_station.third_station_id =#{dto.thirdStationId}
</if>
</if>
<if
test=
"dto.regionalCompaniesCode!=null"
>
<if
test=
"dto.regionalCompaniesCode!=null
and dto.regionalCompaniesCode!=''
"
>
and hygf_jp_station.regional_companies_code =#{dto.regionalCompaniesCode}
and hygf_jp_station.regional_companies_code =#{dto.regionalCompaniesCode}
</if>
</if>
<if
test=
"dto.amosCompanyCode!=null"
>
<if
test=
"dto.amosCompanyCode!=null
and dto.amosCompanyCode!=''
"
>
and hygf_jp_station.amos_company_code =#{dto.amosCompanyCode}
and hygf_jp_station.amos_company_code =#{dto.amosCompanyCode}
</if>
</if>
<if
test=
"dto.state!=null"
>
<if
test=
"dto.state!=null"
>
...
...
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 @
5a8526e7
...
@@ -487,7 +487,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -487,7 +487,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setState
(
jpStation
.
getState
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()
!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setDayGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setDayGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setTimeDate
(
dayGenerate
.
getDayTime
());
hd
.
setTimeDate
(
dayGenerate
.
getDayTime
());
hd
.
setDayIncome
(
dayGenerate
.
getDayIncome
());
hd
.
setDayIncome
(
dayGenerate
.
getDayIncome
());
...
@@ -514,7 +514,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -514,7 +514,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setMonthGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setMonthGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setMonthIncome
(
dayGenerate
.
getMonthIncome
());
hd
.
setMonthIncome
(
dayGenerate
.
getMonthIncome
());
hd
.
setTimeDate
(
dayGenerate
.
getMonthTime
());
hd
.
setTimeDate
(
dayGenerate
.
getMonthTime
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()
!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
break
;
break
;
}
}
}
}
...
@@ -536,7 +536,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -536,7 +536,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setState
(
jpStation
.
getState
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()
!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setYearGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setYearGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setYearIncome
(
dayGenerate
.
getYearIncome
());
hd
.
setYearIncome
(
dayGenerate
.
getYearIncome
());
hd
.
setTimeDate
(
dayGenerate
.
getYearTime
());
hd
.
setTimeDate
(
dayGenerate
.
getYearTime
());
...
@@ -627,7 +627,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -627,7 +627,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setState
(
jpStation
.
getState
());
hd
.
setState
(
jpStation
.
getState
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()
!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setDayGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setDayGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setTimeDate
(
dayGenerate
.
getDayTime
());
hd
.
setTimeDate
(
dayGenerate
.
getDayTime
());
hd
.
setDayIncome
(
dayGenerate
.
getDayIncome
());
hd
.
setDayIncome
(
dayGenerate
.
getDayIncome
());
...
@@ -653,7 +653,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -653,7 +653,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setMonthGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setMonthGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setMonthIncome
(
dayGenerate
.
getMonthIncome
());
hd
.
setMonthIncome
(
dayGenerate
.
getMonthIncome
());
hd
.
setTimeDate
(
dayGenerate
.
getMonthTime
());
hd
.
setTimeDate
(
dayGenerate
.
getMonthTime
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()
!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
break
;
break
;
}
}
}
}
...
@@ -674,7 +674,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
...
@@ -674,7 +674,7 @@ public class JpStationServiceImpl extends BaseService<JpStationDto,JpStation,JpS
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setStationContact
(
jpStation
.
getStationContact
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setAccumulatedPower
(
jpStation
.
getAccumulatedPower
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
());
hd
.
setFullhour
(
dayGenerate
.
getFullhour
()
!=
null
?
Double
.
valueOf
(
String
.
format
(
"%.2f"
,
dayGenerate
.
getFullhour
())):
null
);
hd
.
setYearGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setYearGenerate
(
dayGenerate
.
getGenerate
());
hd
.
setYearIncome
(
dayGenerate
.
getYearIncome
());
hd
.
setYearIncome
(
dayGenerate
.
getYearIncome
());
hd
.
setTimeDate
(
dayGenerate
.
getYearTime
());
hd
.
setTimeDate
(
dayGenerate
.
getYearTime
());
...
...
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