package com.ff.common.service; import java.util.List; import com.ff.common.domain.TenantQuotaExchange; import org.apache.poi.ss.formula.functions.T; /** * 币种汇率Service接口 * * @author shi * @date 2025-02-21 */ public interface ITenantQuotaExchangeService { /** * 查询币种汇率 * * @param id 币种汇率主键 * @return 币种汇率 */ TenantQuotaExchange selectTenantQuotaExchangeById(Long id); /** * 查询币种汇率列表 * * @param tenantQuotaExchange 币种汇率 * @return 币种汇率集合 */ List selectTenantQuotaExchangeList(TenantQuotaExchange tenantQuotaExchange); /** * 获取租户配额交换 * * @param currencyCode 货币代码 * @param exchangeCurrencyCode 兑换货币代码 * @return {@link TenantQuotaExchange } */ TenantQuotaExchange getTenantQuotaExchange(String currencyCode,String exchangeCurrencyCode); /** * 新增币种汇率 * * @param tenantQuotaExchange 币种汇率 * @return 结果 */ int insertTenantQuotaExchange(TenantQuotaExchange tenantQuotaExchange); /** * 修改币种汇率 * * @param tenantQuotaExchange 币种汇率 * @return 结果 */ int updateTenantQuotaExchange(TenantQuotaExchange tenantQuotaExchange); /** * 批量删除币种汇率 * * @param ids 需要删除的币种汇率主键集合 * @return 结果 */ int deleteTenantQuotaExchangeByIds(Long[] ids); /** * 删除币种汇率信息 * * @param id 币种汇率主键 * @return 结果 */ int deleteTenantQuotaExchangeById(Long id); }