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 7aad2216
authored
Apr 14, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工单列表增加车牌号导出
1 parent
af326d38
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
8 deletions
src/main/java/cn/com/glsx/admin/modules/model/WorkOrderDTO.java
src/main/java/cn/com/glsx/admin/modules/model/export/WorkOrderExport.java
src/main/resources/mapper/WorkOrderMapper.xml
src/main/java/cn/com/glsx/admin/modules/model/WorkOrderDTO.java
View file @
7aad221
...
...
@@ -20,6 +20,11 @@ public class WorkOrderDTO {
private
String
bizOrderNo
;
private
String
ownerName
;
private
String
vin
;
/**
* 车牌号
*/
private
String
plateNo
;
private
String
serviceTime
;
private
String
deviceCompose
;
private
Integer
deviceCnt
;
...
...
src/main/java/cn/com/glsx/admin/modules/model/export/WorkOrderExport.java
View file @
7aad221
...
...
@@ -37,27 +37,33 @@ public class WorkOrderExport {
@ExcelProperty
(
value
=
"车架号"
,
index
=
5
)
private
String
vin
;
@ExcelProperty
(
value
=
"设备数量"
,
index
=
6
)
/**
* 车牌号
*/
@ExcelProperty
(
value
=
"车牌号"
,
index
=
6
)
private
String
plateNo
;
@ExcelProperty
(
value
=
"设备数量"
,
index
=
7
)
private
Integer
deviceCnt
;
@ExcelProperty
(
value
=
"创建时间"
,
index
=
7
)
@ExcelProperty
(
value
=
"创建时间"
,
index
=
8
)
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
private
String
createdDate
;
@ExcelProperty
(
value
=
"所属组织"
,
index
=
8
)
@ExcelProperty
(
value
=
"所属组织"
,
index
=
9
)
private
String
tenantName
;
@ExcelProperty
(
value
=
"期望服务日期"
,
index
=
9
)
@ExcelProperty
(
value
=
"期望服务日期"
,
index
=
10
)
@DateTimeFormat
(
value
=
"yyyy/MM/dd"
)
private
Date
serviceTime
;
@ExcelProperty
(
value
=
"期望服务时间"
,
index
=
1
0
)
@ExcelProperty
(
value
=
"期望服务时间"
,
index
=
1
1
)
private
String
serviceApm
;
/**
* 设备组合
*/
@ExcelProperty
(
value
=
"设备组合"
,
index
=
1
1
)
@ExcelProperty
(
value
=
"设备组合"
,
index
=
1
2
)
private
String
deviceCompose
;
// @ExcelProperty(value = "安装服务商", index = 0)
...
...
@@ -66,13 +72,13 @@ public class WorkOrderExport {
// @ExcelProperty(value = "安装人", index = 0)
// private String mechanicName;
@ExcelProperty
(
value
=
"工单归属"
,
index
=
1
2
)
@ExcelProperty
(
value
=
"工单归属"
,
index
=
1
3
)
private
String
createdBy
;
@ExcelIgnore
private
Integer
status
;
@ExcelProperty
(
value
=
"系统工单状态"
,
index
=
1
3
)
@ExcelProperty
(
value
=
"系统工单状态"
,
index
=
1
4
)
private
String
statusDesc
;
}
src/main/resources/mapper/WorkOrderMapper.xml
View file @
7aad221
...
...
@@ -89,6 +89,7 @@
concat(DATE_FORMAT(tw.service_time, '%Y-%m-%d'), ' ', ifnull(tw.service_apm, '')) serviceTime,
twv.lessee_name ownerName,
twv.vin,
twv.plate_no plateNo,
twv.device_compose deviceCompose,
tt.tenant_name tenantName,
tw.status,
...
...
@@ -152,6 +153,7 @@
tw.service_apm serviceApm,
twv.lessee_name ownerName,
twv.vin,
twv.plate_no plateNo,
twv.device_compose deviceCompose,
tt.tenant_name tenantName,
tw.status,
...
...
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