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.GameUserLotteryRecord;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户游戏抽奖记录 Mapper 接口.
 * </p>
 *
 * @author pengshigang
 * @since 2021-11-15
 */
public interface GameUserLotteryRecordDAO extends BaseDAO<GameUserLotteryRecord> {

  List<GameUserLotteryRecord> listTop20(@Param("sysOrigin") String sysOrigin,
      @Param("gameType") String gameType);

  List<GameUserLotteryRecord> listByUserId(@Param("userId") Long userId,
      @Param("isSingle") Boolean isSingle, @Param("gameType") String gameType);

}
