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;


/**
 * 提现设置主表 Mapper 接口
 */
public interface BdWithdrawalMapper extends BaseMapper<BdWithdrawal> {

    List<BdWithdrawalAutoExt> getWithdrawalAutoList(BdWithdrawalAutoExt withdrawalAutoExt);

    /**
     * 查询会员提价表是否有数据
     **/
    Integer checkWithdraw(BdWithdrawalAutoExt withdrawalAutoExt);

    /**
     * 根据国家查询提现配置列表
     **/
    List<BdWithdrawal> queryWithdrawal(@Param("pkCountry") Integer pkCountry, @Param("pkAccount") Integer pkAccount);

    /**
     * 查询提现配置列表
     **/
    List<BdWithdrawalExt> listExt(BdWithdrawalExt withdrawalExt);


}
