package com.liquidnet.service.sweet.service;

import com.liquidnet.service.base.PagedResult;
import com.liquidnet.service.base.ResponseDto;
import com.liquidnet.service.sweet.dto.vo.IntegralActivityDrawVo;
import com.liquidnet.service.sweet.dto.vo.admin.SweetIntegralActivityPrizeVo;
import com.liquidnet.service.sweet.entity.SweetIntegralActivityDraw;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 积分活动抽奖记录表 服务类
 * </p>
 *
 * @author jiangxiulong
 * @since 2021-10-26
 */
public interface ISweetIntegralActivityDrawService extends IService<SweetIntegralActivityDraw> {

    ResponseDto<SweetIntegralActivityPrizeVo> create(String integralActivityId);

    ResponseDto<PagedResult<IntegralActivityDrawVo>> drawList(Integer type, String integralActivityId, Integer pageNum);

    ResponseDto<List<IntegralActivityDrawVo>> winPrizeUser(String integralActivityId);

    ResponseDto perfectAddress(String drawId, String receivingAddressesId);

    ResponseDto<IntegralActivityDrawVo> detail(String drawId);
}
