package com.hzs.activity.draw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.activity.draw.param.AcDrawRecordParam;
import com.hzs.common.domain.activity.draw.AcDrawRewardNum;
import com.hzs.common.domain.activity.draw.AcDrawRewardRecord;
import com.hzs.common.domain.activity.draw.ext.AcDrawGiftRuleConfigExt;
import com.hzs.common.domain.activity.draw.ext.AcDrawRewardRecordExt;

import java.util.List;

/**
 * <p>
 * 抽奖中奖记录 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-04-21
 */
public interface IAcDrawRewardRecordService extends IService<AcDrawRewardRecord> {

    /**
     * 用户抽奖，获取抽奖的数据
     * @Description:
     * @param acDrawRewardNum 抽奖次数
     * @return: BsLuckDrawChanceConfig
     * @Author: sui q
     * @Date: 2022/4/1 14:07
     */
    AcDrawGiftRuleConfigExt obtainAwardRecordByUser(AcDrawRewardNum acDrawRewardNum);

    /*
     * @description: 查询会员中间记录
     * @author: sui q
     * @date: 2023/5/31 19:31
     * @param: null null
     **/
    List<AcDrawRewardRecordExt> queryCuMemberGiftRecordByCondition(AcDrawRecordParam acDrawRecordParam);
}
