feige
2024-11-20 7fcd6ab1d7f08dd83853b42fde52f64a225ca8ea
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>