Administrator
2018-10-30 c0c91fbda1ba601c4c8cb6d12fd43dfbe02eea5d
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
package com.yeshi.fanli.service.inter.taobao;
 
import java.util.List;
import java.util.Map;
 
import com.yeshi.fanli.entity.admin.ReslutOrder;
import com.yeshi.fanli.entity.taobao.TaoBaoOrder;
 
/**
 * 淘宝订单服务
 * 
 * @author Administrator
 *
 */
 
public interface TaoBaoOrderService {
 
    /**
     * 添加订单数据
     * 
     * @param list
     */
    public void addTaoBaoOrderList(List<TaoBaoOrder> list);
 
    /**
     * 
     * @param orderId
     *            订单号
     * @param list
     *            订单号下面的订单
     */
    public void addTaoBaoOrder(String orderId, List<TaoBaoOrder> list);
 
    /**
     * 根据订单号获取订单列表
     * 
     * @param orderId
     * @return
     */
    public List<TaoBaoOrder> getTaoBaoOrderByOrderId(String orderId);
 
    
    
    /**
     * 查询订单--关联红包
     * @param start
     * @param count
     * @param key
     * @param startTime
     * @param endTime
     * @param type
     * @param days
     * @return
     */
    public List<ReslutOrder> queryJoinHongBao(int start, int count, String key, String startTime, String endTime, Integer type, Integer days) throws Exception;
 
    public int countQueryJoinHongBao(String key, String startTime, String endTime, Integer type, Integer days) throws Exception;
    
    
    /**
     * 统计当日预估收益
     * @param date  2018-09-01
     * @return
     */
    public double countEstimate(String date) throws Exception;
 
    
    /**
     * 根据订单号、金额查询订单状态
     * @param orderId
     * @param payment
     * @return
     * @throws Exception
     */
    public List<TaoBaoOrder> getStateByOrderIdAndPayment(String orderId, String payment) throws Exception;
 
}