package com.hzs.member.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.account.CuMemberTradeBonus;

import java.util.List;

/**
 * <p>
 * 会员已发放奖金交易明细表 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-03-24
 */
public interface ICuMemberTradeBonusService extends IService<CuMemberTradeBonus> {

    /**
     * 批量插入会员奖金交易明细
     * @param cuMemberTradeBonusList 会员奖金交易明细
    * @return: void
    * @Author: sui q
    * @Date: 2023/3/24 18:00
    */
    void batchInsertCuMemberTradeBonus(List<CuMemberTradeBonus> cuMemberTradeBonusList);

    /**
     * 查询会员交易的奖金明细，
     * @param consumeTypeList 消费类型
     * @param pkOrder 订单主键
    * @return: List<CuMemberTradeBonus>
    * @Author: sui q
    * @Date: 2023/3/28 18:38
    */
    List<CuMemberTradeBonus> queryCuMemberTradeBonus(List<Integer> consumeTypeList, Long pkOrder);
}
