package com.crm.ucard.dao.mapper;

import com.crm.rely.backend.core.dto.ucard.CardBankCitiesDto;
import com.crm.rely.backend.core.pojo.table.ucard.CardGlobalAvailableBankCitiesTable;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CardGlobalAvailableBankCitiesMapper {

    void batchSave(List<CardGlobalAvailableBankCitiesTable> list);

    void deleteAll();

    List<CardBankCitiesDto> queryAllByCountryAndPayoutCurrency(@Param("country") String country,
                                                               @Param("payoutCurrency") String payoutCurrency);

}
