From a6f1e4c3b4e3b3b808fc6f4d70195df4cef68286 Mon Sep 17 00:00:00 2001
From: 克 刘 <4345453@qq.com>
Date: Fri, 21 Aug 2020 15:52:48 +0800
Subject: [PATCH] 网关ZUUL开启超时时间

---
 kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDoctorMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDoctorMapper.xml b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDoctorMapper.xml
index 5e9b35f..04094cf 100644
--- a/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDoctorMapper.xml
+++ b/kidgrow-business/kidgrow-usercenter/kidgrow-usercenter-biz/src/main/resources/mapper/SysDoctorMapper.xml
@@ -132,7 +132,7 @@
         select count(id) doctorCount from sys_doctor where is_del=0 and enabled=1
         <if test="datatype==0">
             -- 自注册医生
-            and (doctor_type=0 or doctor_type=1) and doctor_state=1
+            and (doctor_type=0 or doctor_type=1) and doctor_state=0
         </if>
         <if test="datatype==1">
             -- 签约医生
@@ -150,5 +150,9 @@
             -- H端医生
             and (doctor_type=1 or doctor_type=0) and doctor_state=1
         </if>
+        <if test="datatype==5">
+            -- H端医生
+            and (doctor_type=1 or doctor_type=0) and doctor_state=0 and enabled=0
+        </if>
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0