From 4b464fd87fca4db52d274b637ea9e3ae247c0487 Mon Sep 17 00:00:00 2001 From: RuoYi <yzz_ivy@163.com> Date: 星期一, 05 七月 2021 14:59:38 +0800 Subject: [PATCH] 角色管理新增分配用户功能 --- src/main/resources/mybatis/system/SysRoleMapper.xml | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/main/resources/mybatis/system/SysRoleMapper.xml b/src/main/resources/mybatis/system/SysRoleMapper.xml index a5c95fe..2e96e2d 100644 --- a/src/main/resources/mybatis/system/SysRoleMapper.xml +++ b/src/main/resources/mybatis/system/SysRoleMapper.xml @@ -135,12 +135,8 @@ where role_id = #{roleId} </update> - <update id="updateRoleStatus" parameterType="SysRole"> - update sys_user set status = #{status} where user_id = #{userId} - </update> - <delete id="deleteRoleById" parameterType="Long"> - delete from sys_role where role_id = #{roleId} + update sys_role set del_flag = '2' where role_id = #{roleId} </delete> <delete id="deleteRoleByIds" parameterType="Long"> -- Gitblit v1.9.3