package com.crm.manager.dao.repository;

import com.crm.rely.backend.core.pojo.table.SysKycConfigTable;
import com.crm.rely.backend.dao.repository.BaseRepository;
import org.springframework.stereotype.Repository;

/**
 * @author: houn
 */
@Repository
public interface SysKycConfigRepository extends BaseRepository<SysKycConfigTable> {

    /**
     * 根据银行code 获取系统配置信息
     *
     * @param code code
     * @return
     */
    SysKycConfigTable getByCode(String code);

    SysKycConfigTable getByCodeAndCountryAndEnable(String code, String country,Integer enable);
}
