package com.yn.bftl.thirdparty.modules.chinaums.repository;

import com.yn.bftl.common.modules.base.entity.BankLineNumber;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * 银行联行号Repository
 *
 * @author huabiao
 * @create 2022/12/6  18:51
 **/
@Repository
public interface BankLineNumberRepository extends JpaRepository<BankLineNumber, Long>, JpaSpecificationExecutor<BankLineNumber> {

    /**
     * 根据开户银行编码获取银行卡信息
     *
     * @return 银行卡信息
     * @author yuweibin
     * @create 2023/2/15  17:35
     */
    BankLineNumber findFirstByBankCode(String bankCode);

}
