package com.hzs.bonus.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.account.CuMemberTrade;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员交易明细 服务类
 * </p>
 *
 * @author hzs
 * @since 2022-09-06
 */
public interface ICuMemberTradeService extends IService<CuMemberTrade> {

    /**
     * 批量获取cuMemberBonus主键
     *
     * @param rowNum 数量
     * @return: List<Integer>
     * @Author: sui q
     * @Date: 2022/12/13 13:47
     */
    List<Long> batchQueryCuMemberTradeSeq(Integer rowNum);

    /**
     * 批量插入会员交易流水，用于奖金发放插入流水
     *
     * @param cuMemberTradeList 交易流水
     * @return: void
     * @Author: sui q
     * @Date: 2023/3/21 11:45
     */
    void batchInsertCuMemberTrade(@Param("cuMemberTradeList") List<CuMemberTrade> cuMemberTradeList);

}
