package com.hzs.bonus.bonus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.bonus.bonus.param.BdWaresBonusParam;
import com.hzs.common.domain.member.bonus.BdWaresBonus;
import com.hzs.common.domain.member.ext.BdWaresBonusExt;

import java.util.List;

/**
 * 特殊商品分配奖金 Mapper 接口
 */
public interface BdWaresBonusMapper extends BaseMapper<BdWaresBonus> {

    /*
     *  查询特殊品奖金配置
     **/
    List<BdWaresBonusExt> querySpecialWaresBonus(BdWaresBonusParam waresBonusParam);

    /*
     *  查询能设置奖金的特殊品
     **/
    List<BdWaresBonusExt> queryAllSpecialWaresBonus();
}
