From 394e00dfbe5adf153dce53c34615874a9ea9273f Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 15 一月 2026 15:08:22 +0800
Subject: [PATCH] 给宣教内容做通配符替换

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index b61d615..3b5a68e 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -306,6 +306,9 @@
             <if test="userName != null and userName != ''">
                 AND u.user_name = #{userName}
             </if>
+            <if test="orgid != null and orgid != ''">
+                AND u.orgid = #{orgid}
+            </if>
             <if test="deptId != null and deptId != ''">
                 AND u.dept_id = #{deptId}
             </if>

--
Gitblit v1.9.3