phpcjl
2024-12-18 3f8e43bb394301b7018a03d2d38e70e1232443d6
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
package com.ruoyi.order.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.order.model.Order;
import com.ruoyi.order.vo.*;
import org.springframework.web.bind.annotation.PathVariable;
 
import java.util.List;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author luodangjia
 * @since 2024-11-21
 */
public interface OrderService extends IService<Order> {
    List<OrderVO> selectOrderListByUserId(Integer status,Long userId);
 
    OrderDetailVO getOrderDetail(Long orderId);
 
    boolean check(Order order, Integer shopId, Long userId);
 
    void writeOff(String code,Integer shopId);
    
    
    /**
     * 获取管理后台订单列表数据
     * @param orderPageList
     * @return
     */
    PageInfo<OrderPageListVo> getOrderPageList(OrderPageList orderPageList);
    
    
    /**
     * 确认发货操作
     * @param orderId
     * @param code
     * @return
     */
    R confirmDelivery(String orderId, String code);
    
    
    /**
     * 取消订单操作
     * @param orderId
     * @return
     */
    R cancelOrder(Long orderId);
    
    
    /**
     * 返回订单支付金额和回退积分和会员等级
     * @param order
     */
    void refundPayMoney(Order order);
    
    
    /**
     * 收货操作
     * @param orderId
     * @return
     */
    R receivingOperation(Long orderId);
    
    
    /**
     * 获取订单详情
     * @param orderId
     * @return
     */
    OrderInfoVo getOrderInfo(Long orderId);
}