package com.hzs.activity.draw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.activity.base.param.ActivityParam;
import com.hzs.activity.draw.param.DrawGiftConfigParam;
import com.hzs.activity.recommend.param.AcRecommendParam;
import com.hzs.common.domain.activity.draw.AcDrawGiftRuleConfig;
import com.hzs.common.domain.activity.draw.ext.AcDrawGiftRuleConfigExt;
import com.hzs.system.sys.dto.ApprovalBusinessResultDTO;

import java.util.List;

/**
 * <p>
 * 活动赠品配置 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-04-21
 */
public interface IAcDrawGiftRuleConfigService extends IService<AcDrawGiftRuleConfig> {

    /*
     * @description: 查询活动的赠品配置
     * @author: sui q
     * @date: 2023/4/21 19:53
     * @param: null null
     **/
    List<AcDrawGiftRuleConfigExt> queryAcDrawGiftConfig(DrawGiftConfigParam drawGiftConfigParam);

    /**
     * 查询活动赠品配置列表
     * @param drawGiftConfigParam
     * @return
     */
    List<AcDrawGiftRuleConfigExt> queryList(DrawGiftConfigParam drawGiftConfigParam);

    /**
     * 删除抽奖信息详情
     * @param pkId
     */
    void removeDrawGiftConfig(Integer pkId);

    /**
     * 修改抽奖信息详情
     * @param activityParam
     */
    void updateDrawGiftConfig(ActivityParam activityParam);

    /**
     * 业务审核信息接口
     * @param approvalBusinessResultDTO
     * @return
     */
    String ApprovalAgree(ApprovalBusinessResultDTO approvalBusinessResultDTO);

    /**
     * 签呈在线审核
     * @param recommendParam
     * @return
     */
    Boolean onLinePetition(AcRecommendParam recommendParam);
}
