From ea6d7f5ad929829c9409d02461a9fe3fee5fbf29 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 30 Jun 2026 17:03:17 +0800 Subject: [PATCH] =?UTF-8?q?2026-06-30=20=E6=95=B0=E6=8D=AE=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E5=A4=9A=E9=80=89=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/spring/modules/sys/entity/DictType.java | 7 +++++-- src/main/resources/mapper/sys/DictTypeDao.xml | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/spring/modules/sys/entity/DictType.java b/src/main/java/com/spring/modules/sys/entity/DictType.java index 11635c53..16c4e3fc 100644 --- a/src/main/java/com/spring/modules/sys/entity/DictType.java +++ b/src/main/java/com/spring/modules/sys/entity/DictType.java @@ -4,9 +4,7 @@ import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.*; -import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; -import org.springframework.format.annotation.DateTimeFormat; /** @@ -31,6 +29,11 @@ public class DictType implements Serializable { */ private String dictType; /** + * 多选默认值(分号分隔) + */ + @TableField("multi_default_value") + private String multiDefaultValue; + /** * 状态(Y正常,N停用) */ private String status; diff --git a/src/main/resources/mapper/sys/DictTypeDao.xml b/src/main/resources/mapper/sys/DictTypeDao.xml index 034cacd4..55149fa5 100644 --- a/src/main/resources/mapper/sys/DictTypeDao.xml +++ b/src/main/resources/mapper/sys/DictTypeDao.xml @@ -7,6 +7,7 @@ select d.dict_id, d.dict_name, d.dict_type, + d.multi_default_value as multiDefaultValue, d.status, d.create_by, d.create_time as createDate,