From 5b603e79b0cae8c071bc67a8ec2920e694ea0d9c Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 11 六月 2024 22:13:25 +0800
Subject: [PATCH] 修改了增加,修改用户代码

---
 ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml |    5 +----
 1 files changed, 1 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 20050dd..2e6ca32 100644
--- a/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml
@@ -229,10 +229,7 @@
 
 
 	<delete id="deleteById" parameterType="Long">
-		delete from sys_user where user_id in
-		<foreach collection="array" item="userId" open="(" separator="," close=")">
-			#{userId}
-		</foreach>
+		delete from sys_user where user_id = #{userId}
 	</delete>
 
 	<delete id="deleteUserByIds" parameterType="Long">

--
Gitblit v1.9.1