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 6a5c3473
authored
Jan 05, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工单导出
1 parent
c1b6bbbd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
src/main/java/cn/com/glsx/admin/modules/model/export/WorkOrderExport.java
src/main/java/cn/com/glsx/admin/modules/model/export/WorkOrderExport.java
View file @
6a5c347
...
@@ -2,9 +2,8 @@ package cn.com.glsx.admin.modules.model.export;
...
@@ -2,9 +2,8 @@ package cn.com.glsx.admin.modules.model.export;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.
fasterxml.jackson.annotation.Json
Format
;
import
com.
alibaba.excel.annotation.format.DateTime
Format
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -30,8 +29,7 @@ public class WorkOrderExport {
...
@@ -30,8 +29,7 @@ public class WorkOrderExport {
private
String
vin
;
private
String
vin
;
@ExcelProperty
(
value
=
"期望安装日期"
,
index
=
5
)
@ExcelProperty
(
value
=
"期望安装日期"
,
index
=
5
)
@JsonFormat
(
pattern
=
"yyyy/MM/dd"
,
timezone
=
"GMT+8"
)
@DateTimeFormat
(
value
=
"yyyy/MM/dd"
)
@DateTimeFormat
(
pattern
=
"yyyy/MM/dd"
)
private
Date
serviceTime
;
private
Date
serviceTime
;
@ExcelProperty
(
value
=
"期望安装时间"
,
index
=
6
)
@ExcelProperty
(
value
=
"期望安装时间"
,
index
=
6
)
...
@@ -62,7 +60,7 @@ public class WorkOrderExport {
...
@@ -62,7 +60,7 @@ public class WorkOrderExport {
private
String
createdBy
;
private
String
createdBy
;
@ExcelProperty
(
value
=
"创建时间"
,
index
=
11
)
@ExcelProperty
(
value
=
"创建时间"
,
index
=
11
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@DateTimeFormat
(
value
=
"yyyy-MM-dd HH:mm:ss"
)
private
String
createdDate
;
private
String
createdDate
;
}
}
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