package com.hzs.member.account.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.member.account.CuMemberRechargeMatch;
import com.hzs.common.domain.member.account.CuMemberRechargeMatchExt;
import com.hzs.member.account.vo.CuMemberRechargeMatchVO;
import com.hzs.member.account.vo.RechargeBatchTemplateVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 充值匹配 Mapper 接口
 * </p>
 *
 * @author hzs
 * @since 2024-04-17
 */
public interface CuMemberRechargeMatchMapper extends BaseMapper<CuMemberRechargeMatch> {


    /**
     * 查询重复的汇款记录
     *
     * @param rechargeMatchList 导入的汇款信息
     * @param pkCountry         国家
     * @return List<CuMemberRechargeMatch>
     */
    List<CuMemberRechargeMatch> selectRepeatRecord(@Param("rechargeMatchList") List<RechargeBatchTemplateVO> rechargeMatchList, @Param("pkCountry") Integer pkCountry);


    /**
     * 充值匹配列表展示
     *
     * @param rechargeMatchVO 入参
     * @return List<CuMemberRechargeMatchExt>
     */
    List<CuMemberRechargeMatchExt> findRechargeMatchList(CuMemberRechargeMatchVO rechargeMatchVO);

    /**
     * 会员端列表显示
     *
     * @param rechargeMatchVO 入参
     * @return List<CuMemberRechargeMatch>
     */
    List<CuMemberRechargeMatch> findRechargeMatchMemberList(CuMemberRechargeMatchVO rechargeMatchVO);

}
