瀏覽代碼

修改StudentFaceInfo对象的日期格式精确到秒

chenken 7 年之前
父節點
當前提交
252b3190b9

+ 2 - 2
core-domain/src/main/java/cn/com/qmth/examcloud/service/core/entity/StudentFaceInfo.java

@@ -34,7 +34,7 @@ public class StudentFaceInfo implements Serializable {
 	/**
 	 * 创建时间
 	 */
-	@Temporal(value = TemporalType.DATE)
+	@Temporal(value = TemporalType.TIMESTAMP)
 	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
 	private Date createTime;
 	/**
@@ -44,7 +44,7 @@ public class StudentFaceInfo implements Serializable {
 	/**
 	 * 更新时间
 	 */
-	@Temporal(value = TemporalType.DATE)
+	@Temporal(value = TemporalType.TIMESTAMP)
 	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
 	private Date updateTime;
 	/**