From 3ad8fb4e7cc1391e8090f3da6ffa9c48690a12a3 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期日, 16 六月 2024 13:45:39 +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