From 9a9b74378d34a8fded749aa0a748da4c8cf0df01 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 11 四月 2024 18:09:36 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ycl-server/src/main/resources/mapper/system/SysUserRoleMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/resources/mapper/system/SysUserRoleMapper.xml b/ycl-server/src/main/resources/mapper/system/SysUserRoleMapper.xml index 7a5c65a..8e079e5 100644 --- a/ycl-server/src/main/resources/mapper/system/SysUserRoleMapper.xml +++ b/ycl-server/src/main/resources/mapper/system/SysUserRoleMapper.xml @@ -41,4 +41,11 @@ #{userId} </foreach> </delete> + + <delete id="deleteUserRoleByUserIds"> + delete from sys_user_role where user_id in + <foreach collection="userIds" item="userId" open="(" separator="," close=")"> + #{userId} + </foreach> + </delete> </mapper> \ No newline at end of file -- Gitblit v1.8.0