package com.hzs.activity.consume.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.activity.base.param.GiftConfigParam;
import com.hzs.activity.recommend.param.AcRecommendParam;
import com.hzs.common.domain.activity.consume.AcConsumeRuleConfig;
import com.hzs.common.domain.activity.consume.ext.AcConsumeRuleConfigExt;
import com.hzs.system.sys.dto.ApprovalBusinessResultDTO;

import java.util.List;

/**
 * 消费买赠规则配置表 服务类
 *
 * @author hzs
 * @since 2023-04-20
 */
public interface IAcConsumeRuleConfigService extends IService<AcConsumeRuleConfig> {

    /*
     * @description: 查询业绩赠送活动赠品配置根据条件
     * @author: sui q
     * @date: 2023/4/25 19:26
     * @param: null null
     **/
    List<AcConsumeRuleConfigExt> queryConsumeGiftConfigByCondition(GiftConfigParam giftConfigParam);

    /**
     * 删除规格信息
     *
     * @param pkId
     */
    void removeActivity(Integer pkId);

    /**
     * 消费赠送审批
     *
     * @param recommendParam
     */

    Boolean onLinePetition(AcRecommendParam recommendParam);

    /**
     * 消费赠送审批/修改/删除
     *
     * @param approvalBusinessResultDTO
     */
    String approvalAgree(ApprovalBusinessResultDTO approvalBusinessResultDTO);
}
