From 03587b58b343956f910a653c37b9a7bcd84e4af9 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 19 九月 2025 18:54:03 +0800
Subject: [PATCH] 资产管理-资产领用列表 阿里云OSS文件上传

---
 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 dd84c2d..d0043e3 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -266,7 +266,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>
@@ -277,7 +277,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.*
@@ -287,7 +287,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>
@@ -299,7 +299,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