From 3b2f654b1a605d258c5e16c7617df80e9eb6f81b Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期六, 02 八月 2025 00:29:41 +0800 Subject: [PATCH] 修改bug --- ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml b/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml index dd72689..46def22 100644 --- a/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml @@ -9,6 +9,10 @@ <result property="roleId" column="role_id" /> </resultMap> + <select id="selectUserById" resultType="SysUserRole" > + select * from sys_user_role where user_id=#{userId} + </select> + <delete id="deleteUserRoleByUserId" parameterType="Long"> delete from sys_user_role where user_id=#{userId} </delete> -- Gitblit v1.9.1