puzhibing
2023-02-15 2811bab657aab4145b65a45a824fb63e93b58e30
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.UserCouponRecord;
import com.baomidou.mybatisplus.service.IService;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 用户优惠券记录 服务类
 * </p>
 *
 * @author stylefeng
 * @since 2020-06-17
 */
public interface IUserCouponRecordService extends IService<UserCouponRecord> {
 
    List<Map<String,Object>> getList(Page<Map<String, Object>> page,
                                     String beginTime,
                                     String endTime,
                                     String userName,
                                     String userPhone,
                                     Integer couponActivityId,
                                     Integer activityType,Integer state);
 
    List<Map<String,Object>> getRedList(Page<Map<String, Object>> page,
                                     String beginTime,
                                     String endTime,
                                     String userName,
                                     String userPhone,
                                     Integer couponActivityId,Integer state);
 
    /**
     * 统计优惠券
     * @param beginTime
     * @param endTime
     * @param activityId
     * @param activityType
     * @return
     */
    Map<String,Object> getCouponStatic(
            String beginTime,
            String endTime,
            Integer activityId,
            Integer activityType);
 
    /**
     * 统计红包
     * @param beginTime
     * @param endTime
     * @param activityId
     * @return
     */
    Map<String,Object> getRedStatic(
            String beginTime,
            String endTime,
            Integer activityId);
 
 
    /**
     * 获取充值统计
     * @param beginTime
     * @param endTime
     * @param activityId
     * @return
     */
    Map<String,Object> getRegStatic(
             String beginTime,
             String endTime,
             Integer activityId);
 
    /**
     * 获取打折统计
     * @param beginTime
     * @param endTime
     * @param activityId
     * @return
     */
    Map<String,Object> getDiscountStatic(
             String beginTime,
             String endTime,
             Integer activityId);
 
    /**
     * 获取充值记录
      * @param page
     * @param beginTime
     * @param endTime
     * @param activityId
     * @return
     */
    List<Map<String,Object>> getBlanceList( Page<Map<String, Object>> page,
                                            String beginTime,
                                            String endTime,
                                            Integer activityId);
 
 
    /**
     * 获取优惠券领取数据
     * @param type
     * @param name
     * @param time
     * @param companyId
     * @param offset
     * @param limit
     * @return
     * @throws Exception
     */
    Map<String, Object> queryCouponRegister(Integer type, String name, String time, Integer companyId, Integer offset, Integer limit) throws Exception;
 
 
    /**
     * 下载优惠券领取数据
     * @param type
     * @param name
     * @param time
     * @param companyId
     * @return
     * @throws Exception
     */
    HSSFWorkbook downloadCouponRegister(Integer type, String name, String time, Integer companyId) throws Exception;
 
 
    /**
     * 获取优惠券统计明细
     * @param type
     * @param name
     * @param time
     * @param companyId
     * @param offset
     * @param limit
     * @return
     * @throws Exception
     */
    Map<String, Object> queryCouponRegisterInfo(Integer type, String name, String time, Integer companyId, Integer offset, Integer limit) throws Exception;
 
 
    /**
     * 下载优惠券统计明细
     * @param type
     * @param name
     * @param time
     * @param companyId
     * @return
     */
    HSSFWorkbook downloadCouponRegisterInfo(Integer type, String name, String time, Integer companyId);
 
 
 
    /**
     * 获取充值优惠券明细
     * @param name
     * @param time
     * @param companyId
     * @param offset
     * @param limit
     * @return
     * @throws Exception
     */
    Map<String, Object> queryCouponRegisterInfo1(String name, String time, Integer companyId, Integer offset, Integer limit) throws Exception;
 
 
    /**
     * 下载充值优惠券明细
     * @param name
     * @param time
     * @param companyId
     * @return
     */
    HSSFWorkbook downloadCouponRegisterInfo1(String name, String time, Integer companyId);
 
}