package cn.pluss.platform.bankUnionpayCode.impl;

import cn.pluss.platform.bankUnionpayCode.BankUnionpayCodeService;
import cn.pluss.platform.leshua.BankNameVO;
import cn.pluss.platform.mapper.BankCodeSxfMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
@RequiredArgsConstructor
@Service("bankUnionpayCodeService")
public class BankUnionpayCodeServiceImpl implements BankUnionpayCodeService {

    private final BankCodeSxfMapper bankCodeSxfMapper;

    @Override
    public List<BankNameVO> getBranchName(String areaCode, String provinceCode, String bankName, String branchName) {
        return bankCodeSxfMapper.getBranchName(areaCode, provinceCode, bankName, branchName);
    }
}

