From b0eb37a1483358ac5747c6b71dc6efd8fe58764c Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期四, 02 七月 2026 15:21:33 +0800
Subject: [PATCH] 【市一】新增手术随访 配置科室病区

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