From cdc6cd1bba85d08a0ff47a368c1f4904c07a4d20 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 20:21:08 +0800 Subject: [PATCH] 用户修改个人信息时 报错 --- zhang-content/src/main/java/com/ruoyi/mapper/ZHonorMapper.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/mapper/ZHonorMapper.java b/zhang-content/src/main/java/com/ruoyi/mapper/ZHonorMapper.java index f182f75..6b4cc86 100644 --- a/zhang-content/src/main/java/com/ruoyi/mapper/ZHonorMapper.java +++ b/zhang-content/src/main/java/com/ruoyi/mapper/ZHonorMapper.java @@ -4,6 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.domain.ZHonor; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Select; + +import java.util.List; /** * <p> @@ -16,4 +19,7 @@ @Mapper public interface ZHonorMapper extends BaseMapper<ZHonor> { + @Select("select distinct name from z_honor") + List<String> listType(); + } -- Gitblit v1.9.1