admin
2019-07-31 f253c6f0ce5e708850f8e3c84a6a9008fc37df5f
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
package com.yeshi.fanli.service.inter.order;
 
import java.util.List;
 
import com.yeshi.fanli.entity.order.HongBaoOrder;
 
public interface HongBaoOrderService {
 
    public int insert(HongBaoOrder record);
 
    public int insertSelective(HongBaoOrder record);
 
    public int updateByPrimaryKey(HongBaoOrder record);
 
    public int updateByPrimaryKeySelective(HongBaoOrder record);
 
    public int deleteByPrimaryKey(Long id);
 
    public HongBaoOrder selectByPrimaryKey(Long id);
 
    /**
     * 老版本的用户返利订单列表
     * 
     * @param uid
     * @param page
     * @param pageSize
     * @return
     */
 
    public List<HongBaoOrder> listFanLiOrder(Long uid, int page, int pageSize);
 
    /**
     * 老版本用户返利订单数量
     * 
     * @param uid
     * @return
     */
    public long countFanLiOrder(Long uid);
 
    /**
     * 根据订单号和订单来源获取数量
     * 
     * @param orderNo
     * @param type
     * @return
     */
    public long countByOrderNoAndHongBaoType(String orderNo, int type);
    
    /**
     * 获取详情
     * @param commonOrderId
     * @return
     */
    public HongBaoOrder selectDetailByCommonOrderId(Long commonOrderId);
 
}