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.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<SweetIntegralActivityDraw>> drawList(Integer type, String integralActivityId, Integer pageNum);

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

    ResponseDto perfectAddress(String drawId, String receivingAddressesId, String receivingName, String receivingPhone, String receivingAddress);
}
