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 de9444b0
authored
Oct 29, 2021
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
导出去掉车型
1 parent
9e294716
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
src/main/java/cn/com/glsx/admin/modules/model/export/TrialDriveReportDetailExport.java
src/main/resources/mapper/TrialDriveReportMapper.xml
src/main/java/cn/com/glsx/admin/modules/model/export/TrialDriveReportDetailExport.java
View file @
de9444b
...
...
@@ -28,33 +28,27 @@ public class TrialDriveReportDetailExport {
@ExcelProperty
(
value
=
"设备号"
,
index
=
4
)
private
String
sn
;
@ExcelProperty
(
value
=
"车系"
,
index
=
5
)
private
String
seriesName
;
@ExcelProperty
(
value
=
"车型"
,
index
=
6
)
private
String
typeName
;
@ExcelProperty
(
value
=
"开始时间"
,
index
=
7
)
@ExcelProperty
(
value
=
"开始时间"
,
index
=
5
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
journeyBeginTime
;
@ExcelProperty
(
value
=
"结束时间"
,
index
=
8
)
@ExcelProperty
(
value
=
"结束时间"
,
index
=
6
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
journeyEndTime
;
@ExcelProperty
(
value
=
"试驾时长"
,
index
=
9
)
@ExcelProperty
(
value
=
"试驾时长"
,
index
=
7
)
private
String
journeyTime
;
@ExcelProperty
(
value
=
"试驾里程(KM)"
,
index
=
10
)
@ExcelProperty
(
value
=
"试驾里程(KM)"
,
index
=
8
)
private
Float
totalMileage
;
@ExcelIgnore
private
Integer
percent
;
@ExcelProperty
(
value
=
"是否有效"
,
index
=
11
)
@ExcelProperty
(
value
=
"是否有效"
,
index
=
9
)
private
String
valid
;
@ExcelProperty
(
value
=
"无效原因"
,
index
=
1
2
)
@ExcelProperty
(
value
=
"无效原因"
,
index
=
1
0
)
private
String
reason
;
}
src/main/resources/mapper/TrialDriveReportMapper.xml
View file @
de9444b
...
...
@@ -129,8 +129,6 @@
tv.license_plate licensePlate,
tv.vin,
tefd.sn,
concat(tv.sub_brand_name, '/', tv.series_name, '/') seriesName,
tv.type_name typeName,
journey_time journeyBeginTime,
journey_end_time journeyEndTime,
total_mileage totalMileage,
...
...
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