ExchangeRateMapper.java
1.37 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.lhcredit.project.business.exchangeRate.mapper;
import com.lhcredit.project.business.exchangeRate.domain.ExchangeRate;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
* 汇率 数据层
*
* @author lhcredit
* @date 2025-03-18
*/
public interface ExchangeRateMapper {
/**
* 查询汇率信息
*
* @param id 汇率ID
* @return 汇率信息
*/
public ExchangeRate selectExchangeRateById(Integer id);
/**
* 查询汇率列表
*
* @param exchangeRate 汇率信息
* @return 汇率集合
*/
public List<ExchangeRate> selectExchangeRateList(ExchangeRate exchangeRate);
/**
* 新增汇率
*
* @param exchangeRate 汇率信息
* @return 结果
*/
public int insertExchangeRate(ExchangeRate exchangeRate);
/**
* 修改汇率
*
* @param exchangeRate 汇率信息
* @return 结果
*/
public int updateExchangeRate(ExchangeRate exchangeRate);
/**
* 删除汇率
*
* @param id 汇率ID
* @return 结果
*/
public int deleteExchangeRateById(Integer id);
/**
* 批量删除汇率
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteExchangeRateByIds(String[] ids);
public ExchangeRate selectExchangeRateBySourceurrency(String sourceUrrency);
}