admin
2022-04-09 ce3420676d9ccf4a2bdf87aeb7ad1494b5e5d26c
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
69
70
71
72
73
74
75
76
77
78
79
80
package com.yeshi.makemoney.app.service.inter.goldcorn;
 
import java.lang.Exception;
import javax.annotation.Resource;
import java.util.Date;
 
import com.yeshi.makemoney.app.entity.SystemEnum;
import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType;
import org.yeshi.utils.bean.BeanUtil;
 
import java.util.List;
 
import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice;
import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornGetPriceService;
import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornGetPriceQuery;
 
 
public interface GoldCornGetPriceService {
 
    /**
     * 获取列表
     *
     * @param goldCornGetPriceQuery
     * @param page
     * @param pageSize
     * @return
     */
    public List<GoldCornGetPrice> list(GoldCornGetPriceQuery goldCornGetPriceQuery, int page, int pageSize);
 
    /**
     *
     */
    public long count(GoldCornGetPriceQuery goldCornGetPriceQuery);
 
    /**
     *
     */
    public GoldCornGetPrice get(String id);
 
    /**
     *
     */
    public void add(GoldCornGetPrice goldCornGetPrice) throws Exception;
 
    /**
     *
     */
    public void update(GoldCornGetPrice goldCornGetPrice);
 
    /**
     *
     */
    public void delete(List<String> idList);
 
    /**
     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice
     * @author hxh
     * @description 获取价格
     * @date 18:14 2022/4/6
     * @param: system
     * @param: type
     * @param: date
     **/
    public GoldCornGetPrice getPrice(SystemEnum system, GoldCornGetType type, Date date);
 
 
    /**
     * @return java.lang.Integer
     * @author hxh
     * @description 获取价格配置中的金币单价
     * @date 16:06 2022/4/8
     * @param: system
     * @param: type
     * @param: date
     * @param: hasBoss
     **/
    public Integer getPriceCornNum(SystemEnum system, GoldCornGetType type, Date date, boolean hasBoss);
 
 
}