package com.crm.pay.dao.repository;

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

/**
 * @author: houn
 */
@Repository
public interface FinanceRateRepository extends BaseRepository<FinanceRateTable> {

    /**
     * 根据货币类型和装货货币类型获取汇率信息
     *
     * @param type
     * @param currency
     * @param transformCurrency
     * @return
     */
    FinanceRateTable getByTypeAndCurrencyAndTransformCurrency(Integer type, String currency, String transformCurrency);

}
