From 09d723c4f6b529c375725d6e2f90cc497a23b110 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 28 五月 2024 17:33:29 +0800 Subject: [PATCH] fix:试卷修改报错解决 --- src/main/java/com/mindskip/xzs/domain/vo/OnlineStudyVO.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/domain/vo/OnlineStudyVO.java b/src/main/java/com/mindskip/xzs/domain/vo/OnlineStudyVO.java index 8d30e56..53eb944 100644 --- a/src/main/java/com/mindskip/xzs/domain/vo/OnlineStudyVO.java +++ b/src/main/java/com/mindskip/xzs/domain/vo/OnlineStudyVO.java @@ -1,5 +1,6 @@ package com.mindskip.xzs.domain.vo; +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import javax.validation.constraints.NotBlank; @@ -42,8 +43,10 @@ private List<UploadFile> attachment; private String attachmentString; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date updateTime; @Data -- Gitblit v1.8.0