package com.hzs.member.account.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.member.account.CuMemberRechargeMatch;
import com.hzs.member.account.vo.CuMemberRechargeMatchVO;
import com.hzs.member.account.vo.RechargeBatchTemplateVO;

import java.util.List;

/**
 * <p>
 * 充值匹配 服务类
 * </p>
 *
 * @author hzs
 * @since 2024-04-17
 */
public interface ICuMemberRechargeMatchService extends IService<CuMemberRechargeMatch> {

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

    /**
     * 充值匹配列表展示
     *
     * @param rechargeMatchVO 入参
     * @return Object []
     */
    Object[] findRechargeMatchList(CuMemberRechargeMatchVO rechargeMatchVO);

    /**
     * 删除
     *
     * @param pkId     ID
     * @param updateId 操作人ID
     * @return Boolean
     */
    Boolean deleteRechargeMatchById(Long pkId, Long updateId);


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

    /**
     * @param pkMember      会员iD
     * @param rechargeMatch 汇款信息
     * @return Boolean
     */
    Boolean memberConfirmRecharge(Long pkMember, CuMemberRechargeMatch rechargeMatch);


}
