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 接口
 *
 * @author hzs
 * @since 2023-04-20
 */
public interface AcWaresRuleConfigMapper extends BaseMapper<AcWaresRuleConfig> {

    /*
     * @description: 查询买赠活动赠品配置根据条件
     * @author: sui q
     * @date: 2023/4/25 19:26
     * @param: null null
     **/
    List<AcWaresRuleConfigExt> queryWaresGiftConfigByCondition(@Param("giftConfigParam") GiftConfigParam giftConfigParam);
}
