admin
2022-04-07 e1cc0d03fadc2d251d36c0dc3650f75e830d5363
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
66
67
68
package com.yeshi.makemoney.app.service.inter.goldcorn;
 
import java.lang.Exception;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.Date;
 
import com.ks.lib.common.exception.ParamsException;
import com.yeshi.makemoney.app.entity.SystemEnum;
import org.yeshi.utils.bean.BeanUtil;
 
import java.util.List;
 
import com.yeshi.makemoney.app.entity.goldcorn.GoldCornMoneyExchangeRateRecord;
import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornMoneyExchangeRateRecordService;
import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornMoneyExchangeRateRecordQuery;
 
 
public interface GoldCornMoneyExchangeRateRecordService {
 
    /**
     * 获取列表
     *
     * @param goldCornMoneyExchangeRateRecordQuery
     * @param page
     * @param pageSize
     * @return
     */
    public List<GoldCornMoneyExchangeRateRecord> list(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery, int page, int pageSize);
 
    /**
     *
     */
    public long count(GoldCornMoneyExchangeRateRecordQuery goldCornMoneyExchangeRateRecordQuery);
 
    /**
     *
     */
    public GoldCornMoneyExchangeRateRecord get(String id);
 
    /**
     *
     */
    public void add(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord) throws Exception;
 
    /**
     *
     */
    public void update(GoldCornMoneyExchangeRateRecord goldCornMoneyExchangeRateRecord);
 
    /**
     *
     */
    public void delete(List<String> idList);
 
 
    /**
     * @return BigDecimal
     * @author hxh
     * @description 获取汇率
     * @date 13:52 2022/4/7
     * @param: day
     * @param system
     * @param: time
     **/
    public BigDecimal getRate(String day, SystemEnum system, Date time) throws ParamsException;
 
}