From 8b19f0614bd79a7bb6d524ef3245723febfb40dd Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 20 一月 2026 17:45:11 +0800
Subject: [PATCH] 【丽水】角色管理修改处理

---
 ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
index 4732f10..6a0c71c 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml
@@ -143,9 +143,7 @@
         <if test="orgid != null and orgid != ''">
             and d.orgid = #{orgid}
         </if>
-        <if test="campusid != null and campusid != ''">
-            and d.campusid = #{campusid}
-        </if>
+        limit 1
     </select>
 
     <select id="checkDeptExistUser" parameterType="Long" resultType="int">

--
Gitblit v1.9.3