From 861b8c51cf42864fde663391eeb73e4fc61d3848 Mon Sep 17 00:00:00 2001
From: 陈昶聿 <chychen@nbjetron.com>
Date: 星期三, 07 一月 2026 17:13:45 +0800
Subject: [PATCH] 【市一】登录bug处理
---
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