时间格式化

This commit is contained in:
86182
2022-10-25 11:40:38 +08:00
parent db4d23b53d
commit e9e3b25fe6

View File

@@ -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")
private LocalDateTime taskTime;
/**
* 开始时间
*/
@JsonFormat(pattern = "yyyy--MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Column(name = "start_time")
private LocalDateTime startTime;