package com.hzs.activity.wares.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.activity.base.param.GiftConfigParam;
import com.hzs.common.domain.activity.wares.AcWaresRuleConfig;
import com.hzs.common.domain.activity.wares.ext.AcWaresRuleConfigExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品买赠规则配置表 Mapper 接口
 */
public interface AcWaresRuleConfigMapper extends BaseMapper<AcWaresRuleConfig> {

    /*
     *  查询买赠活动赠品配置根据条件
     **/
    List<AcWaresRuleConfigExt> queryWaresGiftConfigByCondition(@Param("giftConfigParam") GiftConfigParam giftConfigParam);
}
