From 8581b76c538ed2f31d20d8c2b4cf6aa9d5a0a0ef Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期五, 07 十一月 2025 11:56:00 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mobile_community

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index 5dacb7d..e423805 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -237,12 +237,7 @@
 		<if test="query.status != null and query.status != ''">
 			AND u.status = #{query.status}
 		</if>
-		<if test="query.deptIds != null and query.deptIds.size()>0">
-			AND u.user_id IN (select DISTINCT user_id from t_dept_to_user where dept_id IN
-			<foreach collection="query.deptIds" close=")" open="(" item="deptId" separator=",">
-				#{deptId}
-			</foreach>)
-		</if>
+
 		<if test="query.roleIds != null and query.roleIds.size()>0">
 			AND r.role_id IN
 			<foreach collection="query.roleIds" close=")" open="(" item="roleId" separator=",">
@@ -308,7 +303,6 @@
  			<if test="status != null and status != ''">status,</if>
  			<if test="createBy != null and createBy != ''">create_by,</if>
  			<if test="remark != null and remark != ''">remark,</if>
-		<if test="userIdentification != null and userIdentification != ''">userIdentification,</if>
  			create_time
  		)values(
  			<if test="userId != null and userId != ''">#{userId},</if>
@@ -324,7 +318,6 @@
  			<if test="status != null and status != ''">#{status},</if>
  			<if test="createBy != null and createBy != ''">#{createBy},</if>
  			<if test="remark != null and remark != ''">#{remark},</if>
-			<if test="userIdentification != null and userIdentification != ''">#{userIdentification},</if>
  			sysdate()
  		)
 	</insert>

--
Gitblit v1.7.1