Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7766b0cb
authored
Oct 28, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新E盾 1.30 版本开发 修改油耗报表导出
1 parent
5cefcb0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
src/main/java/cn/com/glsx/admin/modules/service/OilService.java
src/main/java/cn/com/glsx/admin/modules/service/OilService.java
View file @
7766b0c
...
@@ -25,6 +25,9 @@ public class OilService {
...
@@ -25,6 +25,9 @@ public class OilService {
@Autowired
@Autowired
private
ElectricOilMileageMapper
electricOilMileageMapper
;
private
ElectricOilMileageMapper
electricOilMileageMapper
;
@Autowired
private
OrganizationApiService
organizationApiService
;
public
List
<
OilReportExport
>
search
(
OilSearch
search
)
{
public
List
<
OilReportExport
>
search
(
OilSearch
search
)
{
// 没有年月查询消息时 默认显示当前年月
// 没有年月查询消息时 默认显示当前年月
if
(
StringUtils
.
isNullOrEmpty
(
search
.
getMonth
())
&&
StringUtils
.
isNullOrEmpty
(
search
.
getYear
()))
{
if
(
StringUtils
.
isNullOrEmpty
(
search
.
getMonth
())
&&
StringUtils
.
isNullOrEmpty
(
search
.
getYear
()))
{
...
@@ -196,6 +199,7 @@ public class OilService {
...
@@ -196,6 +199,7 @@ public class OilService {
DecimalFormat
df
=
new
DecimalFormat
(
"0.000"
);
DecimalFormat
df
=
new
DecimalFormat
(
"0.000"
);
oilReportExport
.
setSummation
(
df
.
format
(
summation
));
oilReportExport
.
setSummation
(
df
.
format
(
summation
));
}
}
organizationApiService
.
drawReportOrganization
(
oilReportExportList
);
return
oilReportExportList
;
return
oilReportExportList
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment