package com.ruoyi.xq.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.xq.domain.UserStar;
import com.ruoyi.xq.dto.app.user.vo.HomeUserListVo;
import com.ruoyi.xq.dto.app.userstar.UserStarQuery;
import com.ruoyi.xq.dto.app.userstar.vo.UserStarListVo;
import org.apache.ibatis.annotations.Param;

/**
 * 用户关注Mapper接口
 *
 * @author 77
 * @date 2024-03-17
 */
public interface UserStarMapper extends BaseMapper<UserStar> {

    Page<UserStarListVo> selectMyStar(@Param("build") Page<Object> build, @Param("query") UserStarQuery query);

    Page<UserStarListVo> selectStarMe(@Param("build") Page<Object> build, @Param("query") UserStarQuery query);
}
