feige
2024-09-03 c8ea9050a3e82eba68617c1a85ebb8b93eb885a3
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>