Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ac8463b8
authored
Sep 25, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7. BEAN调用PEA接口/临时加单
1 parent
1dfded4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/param/Order.java
project-order/src/main/java/com/dituhui/pea/order/dto/param/OrderConfirmParam.java
project-order/src/main/java/com/dituhui/pea/order/dto/param/Order.java
View file @
ac8463b
package
com
.
dituhui
.
pea
.
order
.
dto
.
param
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Getter
;
import
lombok.Setter
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.util.Date
;
...
...
@@ -60,6 +62,8 @@ public class Order {
/**
* 客户期望上门最早时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
expectTimeBegin
;
/**
...
...
project-order/src/main/java/com/dituhui/pea/order/dto/param/OrderConfirmParam.java
View file @
ac8463b
package
com
.
dituhui
.
pea
.
order
.
dto
.
param
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Getter
;
import
lombok.Setter
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
...
...
@@ -21,5 +23,7 @@ public class OrderConfirmParam extends OrderConfirmBaseParam{
/**
* 预约上门时间,预约成功时候填写
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
appointmentTime
;
}
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