From 8251d870bb6a437456de96b60851138a0bff5bcf Mon Sep 17 00:00:00 2001 From: liao Date: Thu, 28 Sep 2023 14:59:43 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E9=97=AE=E7=AD=94=E5=BA=93-=E6=8F=90?= =?UTF-8?q?=E9=97=AE=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jero/modules/laws/library/entity/LawsProblemLibrary.java | 5 +++++ .../laws/library/mapper/xml/LawsProblemLibraryMapper.xml | 1 + .../library/service/impl/LawsProblemLibraryServiceImpl.java | 3 +++ 3 files changed, 9 insertions(+) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/library/entity/LawsProblemLibrary.java b/laws-modules/src/main/java/com/jero/modules/laws/library/entity/LawsProblemLibrary.java index 474d6d65..76ab5ed9 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/library/entity/LawsProblemLibrary.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/library/entity/LawsProblemLibrary.java @@ -94,6 +94,11 @@ public class LawsProblemLibrary implements Serializable { @Excel(name = "问题描述", width = 15) @ApiModelProperty(value = "问题描述") private java.lang.String problemDescription; + /**提问时间*/ + @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @ApiModelProperty(value = "提问时间") + private java.util.Date quizTime; /**附件*/ @Excel(name = "附件", width = 15) @ApiModelProperty(value = "附件") diff --git a/laws-modules/src/main/java/com/jero/modules/laws/library/mapper/xml/LawsProblemLibraryMapper.xml b/laws-modules/src/main/java/com/jero/modules/laws/library/mapper/xml/LawsProblemLibraryMapper.xml index 59d6ce02..ef35e587 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/library/mapper/xml/LawsProblemLibraryMapper.xml +++ b/laws-modules/src/main/java/com/jero/modules/laws/library/mapper/xml/LawsProblemLibraryMapper.xml @@ -5,6 +5,7 @@ + diff --git a/laws-modules/src/main/java/com/jero/modules/laws/library/service/impl/LawsProblemLibraryServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/library/service/impl/LawsProblemLibraryServiceImpl.java index 46ae9be8..05d374a6 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/library/service/impl/LawsProblemLibraryServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/library/service/impl/LawsProblemLibraryServiceImpl.java @@ -71,6 +71,9 @@ public class LawsProblemLibraryServiceImpl extends ServiceImpl