package com.copy.trade.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.copy.trade.entity.po.Favorite;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.copy.trade.entity.vo.TraderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 关注表 Mapper 接口
 * </p>
 *
 * @author wz
 * @since 2022-11-08
 */
public interface FavoriteMapper extends BaseMapper<Favorite> {

    List<TraderVo> inFocus(@Param("page") Page page, @Param("customerId") Long customerId);
}
