From c1dd40bc0f0301de4a959aae69706e8f207e9899 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 16 七月 2024 09:56:19 +0800 Subject: [PATCH] feat:补考保留最高分 --- 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