admin
2022-04-29 6cc97918a5a42e37a3c3867cc5b78a0b9fd43a24
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
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 com.yeshi.makemoney.app.entity.user.UserInfo;
import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetPriceException;
import org.yeshi.utils.bean.BeanUtil;
 
import java.util.List;
import java.util.Map;
 
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);
 
 
    /**
     * @return java.lang.Integer
     * @author hxh
     * @description 获取签到的价格
     * @date 16:25 2022/4/21
     * @param: continueDay 连续签到天数
     **/
    public Integer getSingInPrice(SystemEnum system, int continueDay);
 
 
    /**
     * @return java.util.List<java.lang.Integer>
     * @author hxh
     * @description 获取连续签到的价格列表
     * @date 16:26 2022/4/21
     * @param: system
     **/
    public List<Integer> getSingInPriceList(SystemEnum system);
 
 
    /**
     * @return java.lang.Integer
     * @author hxh
     * @description 获取计数价格
     * @date 12:10 2022/4/28
     * @param: type
     * @param: user
     * @param: system
     * @param: date
     * @param: eventCount
     **/
    public Integer getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date, long eventCount) throws GoldCornGetPriceException;
 
 
    /**
     * @return java.util.Map<com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType               ,               java.lang.Integer>
     * @author hxh
     * @description 获取计数价格列表
     * @date 13:55 2022/4/28
     * @param: typeList
     * @param: user
     * @param: system
     * @param: date
     **/
    public Map<GoldCornGetType, GoldCornGetPrice> getCountPrice(List<GoldCornGetType> typeList, UserInfo user, SystemEnum system, Date date);
 
 
    /**
     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice
     * @author hxh
     * @description 获取计数价格
     * @date 19:02 2022/4/28
     * @param: type
     * @param: user
     * @param: system
     * @param: date
     **/
    public GoldCornGetPrice getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date);
 
 
}