From 57f7ec8d2842dd9ec250639e3c8f5c066cc7d30c Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期一, 09 十月 2023 07:55:15 +0800 Subject: [PATCH] 删除了某些代码 --- zhang-content/src/main/java/com/ruoyi/mapper/ZfDoctorMapper.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/mapper/ZfDoctorMapper.java b/zhang-content/src/main/java/com/ruoyi/mapper/ZfDoctorMapper.java index 5a93f4e..77436b7 100644 --- a/zhang-content/src/main/java/com/ruoyi/mapper/ZfDoctorMapper.java +++ b/zhang-content/src/main/java/com/ruoyi/mapper/ZfDoctorMapper.java @@ -4,6 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.domain.ZfDoctor; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Select; + +import java.util.List; /** * <p> @@ -15,5 +18,7 @@ */ @Mapper public interface ZfDoctorMapper extends BaseMapper<ZfDoctor> { + @Select("select distinct type from zf_doctor") + List<String> listType(); } -- Gitblit v1.9.1