From b84fc1807a6ce71f4d10cdb10da186abc5dcc173 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 19 九月 2025 19:37:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
index d40bcf5..d960d8d 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -267,7 +267,7 @@
 	select  * from sys_user
 	where 1=1
 		<if test="ids != null and ids.size()>0">
-			AND deptId IN
+			AND dept_id IN
 			<foreach collection="ids" separator="," item="id" open="(" close=")">
 				#{id}
 			</foreach>
@@ -278,7 +278,7 @@
 
     <select id="selectListByDeptId" resultType="com.ruoyi.common.core.domain.entity.SysUser">
 		select u.*
-		from sys_user u where u.deptId = #{deptId} and u.status = 0 and u.del_flag = 0
+		from sys_user u where u.dept_id = #{deptId} and u.status = 0 and u.del_flag = 0
 	</select>
 	<select id="selectListByDeptType" resultType="com.ruoyi.common.core.domain.entity.SysUser">
 		select u.*
@@ -288,7 +288,7 @@
 		select u.*
 		from sys_user u where u.status = 0 and u.del_flag = 0
 		<if test="projectIds != null and projectIds.size() > 0">
-			and u.deptId in
+			and u.dept_id in
 			<foreach item="item" collection="projectIds" open="(" separator="," close=")">
 				#{item}
 			</foreach>
@@ -300,7 +300,7 @@
 			and deptType = #{deptType}
 		</if>
 		<if test="projectIds != null and projectIds.size() > 0">
-			and deptId in
+			and dept_id in
 			<foreach item="item" collection="projectIds" open="(" separator="," close=")">
 				#{item}
 			</foreach>

--
Gitblit v1.7.1