package com.hzs.system.config.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.system.config.BdWithdrawal;
import com.hzs.common.domain.system.config.ext.BdWithdrawalAutoExt;
import com.hzs.common.domain.system.config.ext.BdWithdrawalExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 * 提现设置主表 Mapper 接口
 * </p>
 *
 * @author zhangjing
 * @since 2022-08-29
 */
public interface BdWithdrawalMapper extends BaseMapper<BdWithdrawal> {

    List<BdWithdrawalAutoExt> getWithdrawalAutoList(BdWithdrawalAutoExt withdrawalAutoExt);

    /**
     * @description: 查询会员提价表是否有数据
     * @author: zhang jing
     * @date: 2023/3/16 11:06
     * @param: [withdrawalAutoExt]
     * @return: java.lang.Integer
     **/
    Integer checkWithdraw (BdWithdrawalAutoExt withdrawalAutoExt);
    /**
     * @description: 根据国家查询提现配置列表
     * @author: zhang jing
     * @date: 2023/12/13 13:57
     * @param: [pkCountry]
     * @return: java.util.List<com.hzs.common.domain.system.config.BdWithdrawal>
     **/
    List<BdWithdrawal> queryWithdrawal(@Param("pkCountry") Integer pkCountry,@Param("pkAccount") Integer pkAccount);

    /**
     * @description: 查询提现配置列表
     * @author: zhang jing
     * @date: 2024/6/17 16:27
     * @param: [withdrawalExt]
     * @return: java.util.List<com.hzs.common.domain.system.config.ext.BdWithdrawalExt>
     **/
    List<BdWithdrawalExt> listExt(BdWithdrawalExt withdrawalExt);


}
