From fe0df4881f5f5e4f64178f291c7cfc5ea2731f48 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期二, 02 六月 2026 15:13:05 +0800
Subject: [PATCH] 【丽水】getInfo 增加 院区限制

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserDeptMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserDeptMapper.xml
index 3ebd0e5..cbb6490 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserDeptMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserDeptMapper.xml
@@ -71,7 +71,7 @@
             <if test="deptCode != null ">
                 and dept_code = #{deptCode}
             </if>
-            <if test="campusid != null ">
+            <if test="campusid != null and campusid != ''">
                 and campusid = #{campusid}
             </if>
     </select>

--
Gitblit v1.9.3