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
| package com.stylefeng.guns.modular.system.service;
|
| import com.baomidou.mybatisplus.service.IService;
| import com.stylefeng.guns.modular.system.model.UserRedPacketRecord;
|
| import java.util.List;
| import java.util.Map;
|
| public interface IUserRedPacketRecordService extends IService<UserRedPacketRecord> {
|
|
| /**
| * 获取不大于money值的红包数据
| * @param uid
| * @param companyId
| * @param state
| * @param orderType
| * @param money
| * @return
| * @throws Exception
| */
| UserRedPacketRecord query(Integer uid, Integer companyId, Integer state, Integer orderType, Double money) throws Exception;
|
|
|
| UserRedPacketRecord query_(Integer uid, Integer companyId, Integer state, Integer orderType, Double money) throws Exception;
|
|
|
| /**
| * 获取个人红包列表(未使用)
| * @param pageNum
| * @param size
| * @param uid
| * @return
| * @throws Exception
| */
| List<Map<String, Object>> queryMyRedEnvelope(Integer pageNum, Integer size, Integer uid) throws Exception;
|
| /**
| * 获取剩余红包总金额
| * @param uid
| * @return
| */
| Double queryRemainingAmount(Integer uid);
| }
|
|