admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
package com.yeshi.fanli.service.inter.order.jd;
 
import java.util.List;
 
import com.yeshi.fanli.entity.jd.JDOrder;
import com.yeshi.fanli.entity.jd.JDOrderItem;
import com.yeshi.fanli.exception.jd.JDOrderException;
 
public interface JDOrderService {
 
    /**
     * 添加订单
     * 
     * @param order
     * @throws JDOrderException
     */
    public void addJDOrder(JDOrder order) throws JDOrderException;
 
    /**
     * 根据订单号查询
     * 
     * @param orderId
     * @return
     */
    public JDOrder selectByOrderId(Long orderId);
    
    /**
     * 根据订单号查询(包含子订单)
     * @param orderId
     * @return
     */
    public JDOrder selectDetailByOrderId(Long orderId);
 
    
    
    public Long countOrderByDay(String preDay);
 
    /**
     * 查询订单
     * @param start
     * @param count
     * @param key
     * @return
     */
    public List<JDOrderItem> listQuery(long start, int count, String key);
 
    public long countQuery(String key);
 
}