From a69aafe60ce001834b981778f12fd74d4af77e23 Mon Sep 17 00:00:00 2001
From: zqy <2522236926@qq.com>
Date: 星期日, 23 六月 2024 22:04:42 +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