zqy
2025-08-19 2d024e19ca10aed7b7cd556a1320c6319abfa6b7
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>