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;

/**
 * <p>
 * 特殊商品分配奖金 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2024-10-30
 */
public interface BdWaresBonusMapper extends BaseMapper<BdWaresBonus> {

    /*
     * @description: 查询特殊品奖金配置
     * @author: sui q
     * @date: 2024/10/30 10:55
     * @param: null null
     **/
    List<BdWaresBonusExt> querySpecialWaresBonus(BdWaresBonusParam waresBonusParam);

    /*
     * @description: 查询能设置奖金的特殊品
     * @author: sui q
     * @date: 2024/11/8 10:19
     * @param: null null
     **/
    List<BdWaresBonusExt> queryAllSpecialWaresBonus();
}
