修改xispeak里面的截止日期的格式

This commit is contained in:
wsm
2026-05-25 15:57:40 +08:00
parent 1ac4ccef9c
commit 44c996ff82
2 changed files with 5 additions and 3 deletions
@@ -176,6 +176,8 @@ public class BgXiSpeak implements Serializable {
/**dw领导userId字段*/
@Excel(name = "截止日期", width = 15)
@Schema(description = "截止日期")
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") // 核心:告诉Jackson怎么把String转成Date
@DateTimeFormat(pattern="yyyy-MM-dd")
private java.util.Date deadline;
@TableField(typeHandler = JacksonTypeHandler.class)