package com.taoke.autopay.service.credit;
|
|
import java.util.List;
|
import com.taoke.autopay.entity.credit.ExchangeRate;
|
import com.taoke.autopay.dao.credit.ExchangeRateMapper.DaoQuery;
|
|
public interface ExchangeRateService {
|
|
/**
|
* 添加汇率记录
|
* @param exchangeRate 汇率记录
|
* @return 影响的行数
|
*/
|
int addExchangeRate(ExchangeRate exchangeRate);
|
|
/**
|
* 修改汇率记录
|
* @param exchangeRate 汇率记录
|
* @return 影响的行数
|
*/
|
int updateExchangeRate(ExchangeRate exchangeRate);
|
|
/**
|
* 删除汇率记录
|
* @param id 汇率记录ID
|
* @return 影响的行数
|
*/
|
int deleteExchangeRate(Long id);
|
|
/**
|
* 根据查询条件获取汇率记录列表
|
* @param query 查询条件
|
* @return 汇率记录列表
|
*/
|
List<ExchangeRate> listExchangeRates(DaoQuery query);
|
|
/**
|
* 根据查询条件获取汇率记录总数
|
* @param query 查询条件
|
* @return 汇率记录总数
|
*/
|
long countExchangeRates(DaoQuery query);
|
}
|