From d5d18169572c7b12e9ffd7ccd2b19b41c69d9d0e Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期五, 12 六月 2026 15:39:57 +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