From 94eb7d8c68ab299163b8eb13a1c1df929255377e Mon Sep 17 00:00:00 2001
From: whywhyo <1511349576@qq.com>
Date: 星期一, 07 八月 2023 00:22:47 +0800
Subject: [PATCH] 15645

---
 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