package com.red.circle.other.infra.database.rds.dao.game;

import com.red.circle.framework.mybatis.dao.BaseDAO;
import com.red.circle.other.infra.database.rds.entity.game.GameRoomPkFansIntegral;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 房间pk粉丝贡献值 Mapper 接口.
 * </p>
 *
 * @author pengshigang
 * @since 2021-09-27
 */
public interface GameRoomPkFansIntegralDAO extends BaseDAO<GameRoomPkFansIntegral> {

  GameRoomPkFansIntegral getBestFan(@Param("userId") Long userId,
      @Param("timeType") Integer timeType);

  GameRoomPkFansIntegral getSpecifiedTimeBestFan(@Param("userId") Long userId,
      @Param("startTime") String startTime, @Param("endTime") String endTime);

}
