@@ -2,6 +2,7 @@ package com.tuoheng.admin.vo.accident; | |||
import com.fasterxml.jackson.annotation.JsonFormat; | |||
import lombok.Data; | |||
import org.springframework.format.annotation.DateTimeFormat; | |||
import java.util.Date; | |||
@@ -45,7 +46,8 @@ public class QueryAccidentPageVO { | |||
/** | |||
* 发生时间 | |||
*/ | |||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8") | |||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | |||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | |||
private Date createTime; | |||
} |