admin
2025-04-20 24b1d8e38de30063e2fc8008265455da32e959b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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);
}