From 639dc4814c08bdaa9d24e2ac26564f1a581c4956 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 07 一月 2026 17:27:57 +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