Helius
2022-05-24 560228ac3c15cccce0b2a5994d44e4e81b5b3b73
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
package com.matrix.system.hive.service;
 
import com.matrix.core.exception.GlobleException;
import com.matrix.core.pojo.PaginationVO;
import com.matrix.system.app.dto.OrderListDto;
import com.matrix.system.app.vo.OrderDetailVo;
import com.matrix.system.app.vo.RankingVo;
import com.matrix.system.hive.bean.SysOrder;
import com.matrix.system.hive.plugin.util.BaseServices;
import com.matrix.system.hive.pojo.CzXkVo;
import com.matrix.system.padApi.dto.PadOrderListDto;
import com.matrix.system.padApi.vo.PadOrderDetailVo;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 *
 * @date 2016-07-03 20:53
 */
public interface SysOrderService  extends BaseServices<SysOrder>{
    
    /**
     * 新增SysOrder
     * 
     */
    public int add(SysOrder sysOrder);
       
       /**
     * 更新SysOrder
     * 
     */
    public int modify(SysOrder sysOrder);
    
    /**
     * 批量删除SysOrder
     *
     */
    public int remove(List<Long> list);
 
    public void cancelOrder(Long id);
    /**
     * 根据id删除SysOrder
     *
     */
    public int removeById(Long id);
    
    /**
     * 分页查询SysOrder
     * 
     */
    public List<SysOrder> findInPage(SysOrder sysOrder, PaginationVO pageVo);
    
    /**
     * 分页查询SysOrder
     * 
     */
 
 
    /**addMoneyCardUse
     * 根据对象查询SysOrder
     * 
     */
    public List<SysOrder> findByModel(SysOrder sysOrder);
    
 
    
    /**
     * 根据id查询SysOrder
     */
    public SysOrder  findById(Long id);
    
    
 
    
    /**
     * 
    * @Title: updateReceiptMoney  收款
    * @author:jyy
    * @param staffId   操作人id
    * @param sysOrder  订单
    * @date 2016年7月18日 上午11:14:07
    * @throws
     */
    public void payOrder(SysOrder sysOrder) throws GlobleException;
 
    public void orderTk(SysOrder sysOrder);
 
    /**
     * 补交
    * @Title: updateAfterMoney 
    * @author:jyy
    * @param order
    * @date 2016年9月13日 上午10:43:31
    * @throws
     */
    public void updateAfterMoney(SysOrder order);
    /**
 
    * @Title: updateAddCardMoney
    * @author:jyy
    * @date 2016年9月20日 下午12:07:21
    * @throws
     */
    public SysOrder moneyCardCz(CzXkVo czVo);
 
    /**
     * 校验订单是否满足结算条件
     * 如果满足则保存为待付款订单
     * @param sysOrder
     * @return
     */
    SysOrder checkAndSaveOrder(SysOrder sysOrder);
 
    SysOrder findSysOrderTjByVipId(Long vipId);
 
    List<OrderDetailVo> findApiOrderListInPage(OrderListDto orderListDto, PaginationVO pageVo);
 
    List<PadOrderDetailVo> findPadApiOrderListInPage(PadOrderListDto orderListDto, PaginationVO pageVo);
 
    int findApiOrderListTotal(OrderListDto orderListDto);
 
    OrderDetailVo findApiOrderDetailByOrderId(Long orderId);
 
    List<RankingVo> findApiShopAchieveRanking(SysOrder sysOrder);
 
    BigDecimal findVipArrearsByVipId(Long vipId);
 
    int findPadApiOrderListTotal(PadOrderListDto orderListDto);
}