yujian
2019-01-22 2366d2ada9e67f915a06b51b3c5be08a00847f0c
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
package com.yeshi.fanli.service.inter.order;
 
import java.util.List;
import java.util.Map;
 
 
public interface CommonOrderCountService {
 
    /**
     * 当前各个状态订单数
     * @param state 状态
     * @return
     */
    public Long countByState(Integer state);
 
    /**
     *  统计所有订单
     * @param channel
     * @return
     */
    public List<Map<String, Object>> getTrackAccuracyRate(Integer dateType, String year, String startTime,
            String endTime) throws Exception;
 
    /**
     * 统计总金额
     * @param dateType
     * @param year
     * @param startTime
     * @param endTime
     * @return
     * @throws Exception
     */
    public List<Map<String, Object>> countWeiQaunOrderMoney(Integer dateType, String year, String startTime,
            String endTime)    throws Exception;
 
    /**
     * 统计总个数
     * @param dateType
     * @param year
     * @param startTime
     * @param endTime
     * @return
     * @throws Exception
     */
    public List<Map<String, Object>> countWeiQaunOrderNumber(Integer dateType, String year, String startTime, String endTime)
            throws Exception;
 
    /**
     * 根据结算时间统计
     * @param uid
     * @param state
     * @param day
     * @return
     * @throws Exception
     */
    public Map<String, Object> countOrderNumberBySettleTime(Long uid, Integer state, Integer day);
 
    /**
     * 根据结算时间筛选 上个月已结算的订订单数量
     * @param uid
     * @return
     */
    public Map<String, Object> lastMonthSettleOrderNumber(Long uid);
 
 
}