yujian
2020-05-11 712fb305d6f79961e879a2f543107e19d7f9e8a2
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
package com.yeshi.fanli.service.inter.order;
 
import java.util.Date;
 
import com.yeshi.fanli.entity.order.TeamOrderStatistic;
import com.yeshi.fanli.exception.ParamsException;
 
/**
 * 团队订单统计服务
 * @author Administrator
 *
 */
public interface TeamOrderStatisticService {
 
    /**
     * 添加统计
     * @Title: addTeamOrderStatistic
     * @Description: 
     * @param statistic 
     * void 返回类型
     * @throws
     */
    public void addTeamOrderStatistic(TeamOrderStatistic statistic) throws ParamsException;
 
    /**
     * 增加订单数
     * @Title: increDirectOrder
     * @Description: 
     * @param uid
     * @param date 
     * void 返回类型
     * @throws
     */
    public void increDirectOrder(Long uid, Date date);
 
    public void increIndirectOrder(Long uid, Date date);
 
    public void increOtherOrder(Long uid, Date date);
 
    /**
     * 根据日期统计数量
     * @Title: countByDate
     * @Description: 
     * @param minDate
     * @param maxDate
     * @return 
     * TeamOrderStatistic 返回类型
     * @throws
     */
    public TeamOrderStatistic countByUidAndDate(Long uid, Date minDate, Date maxDate);
 
}