From fa5ea853099e88be253fca4fb2b0c2b7af5f396e Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期日, 09 十一月 2025 15:57:04 +0800
Subject: [PATCH] feat:微信登录

---
 ruoyi-system/src/main/resources/mapper/system/HospDataMapper.xml |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/HospDataMapper.xml b/ruoyi-system/src/main/resources/mapper/system/HospDataMapper.xml
index a7e7a9f..d0de80d 100644
--- a/ruoyi-system/src/main/resources/mapper/system/HospDataMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/HospDataMapper.xml
@@ -53,7 +53,9 @@
         )
         </if>
         AND (HospState IS NULL OR HospState = 1)
-        ORDER BY HospName
+        ORDER BY 
+            CASE WHEN HospName = '瀹朵腑' THEN 0 ELSE 1 END,
+            HospName
     </select>
     
     <select id="selectHospDataById" parameterType="Integer" resultMap="HospDataResult">
@@ -75,6 +77,9 @@
         ) as t
         order by InCount desc
     </select>
+    <select id="getHomeHospId" resultType="java.lang.Integer">
+        select HospID from HospData where HospName='瀹朵腑'
+    </select>
     
     <!-- 鏌ヨ甯哥敤杞叆鍖婚櫌ID鍒楄〃 -->
     <select id="selectFrequentInHospitalIds" resultType="java.lang.Integer">

--
Gitblit v1.9.1