mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
时间格式化
This commit is contained in:
@@ -143,14 +143,14 @@ public class AloneExamAnswer extends IdBaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 推送时间
|
* 推送时间
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern = "yyyy--MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Column(name = "task_time")
|
@Column(name = "task_time")
|
||||||
private LocalDateTime taskTime;
|
private LocalDateTime taskTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 开始时间
|
* 开始时间
|
||||||
*/
|
*/
|
||||||
@JsonFormat(pattern = "yyyy--MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@Column(name = "start_time")
|
@Column(name = "start_time")
|
||||||
private LocalDateTime startTime;
|
private LocalDateTime startTime;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user