From 62e4044f217077a2cb06168a38008b9f0ca0f372 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 15 七月 2026 14:58:32 +0800
Subject: [PATCH] 【丽水】redis查询方法
---
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