yanghb
2023-04-04 377f2f7180bd9a4decf09dcf735ffd8875107240
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.OrderPrivateCar;
import com.stylefeng.guns.modular.system.util.ResultUtil;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
public interface IOrderPrivateCarService extends IService<OrderPrivateCar> {
 
 
    /**
     * 获取订单列表
     * @param search
     * @param orderSource
     * @param state
     * @param uid
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryOrderList(String search, String orderSource, String state, Integer pageNum, Integer size, Integer uid) throws Exception;
 
 
 
    /**
     * 获取订单详情
     * @param orderId
     * @return
     * @throws Exception
     */
    Map<String, Object> queryOrderInfo(Integer orderId) throws Exception;
 
 
    /**
     * 取消订单
     * @param orderId
     * @return
     * @throws Exception
     */
    ResultUtil cancelOrder(Integer orderId) throws Exception;
 
 
    /**
     * 添加专车订单
     * @param uid
     * @param serverCarModelId
     * @param travelTime
     * @param orderType
     * @param placementLon
     * @param placementLat
     * @param startLon
     * @param startLat
     * @param startAddress
     * @param endLon
     * @param endLat
     * @param endAddress
     * @param passengers
     * @param passengersPhone
     * @param driverId
     * @return
     * @throws Exception
     */
    ResultUtil saveOrderPrivateCar(Integer uid, Integer serverCarModelId, Date travelTime, Integer orderType, String placementLon, String placementLat, String startLon, String startLat,
                                   String startAddress, String endLon, String endLat, String endAddress, String passengers, String passengersPhone, Integer driverId) throws Exception;
}