xuhy
2023-08-11 1172de622b5e615677918d4fa0f02a9b2766171c
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
package com.stylefeng.guns.modular.CharteredCar.server;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.CharteredCar.model.OrderCharteredCar;
import com.stylefeng.guns.modular.system.util.ResultUtil;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
public interface IOrderCharteredCarService extends IService<OrderCharteredCar> {
 
 
    /**
     * 下单
     * @param traveltime
     * @param carTime
     * @param serverCarModelId
     * @param modelUse
     * @param peopleNumber
     * @param contactPerson
     * @param contactPhone
     * @param placeLonLat
     * @param uid
     * @return
     * @throws Exception
     */
    ResultUtil orderCharteredCar(Date travelTime, Integer carTime, Integer serverCarModelId, String modelUse, Integer peopleNumber,
                                 String contactPerson, String contactPhone, String placeLonLat, Integer uid) throws Exception;
 
 
 
    /**
     * 获取用户的订单列表
     * @param uid
     * @param pageNum
     * @param size
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryMyOrderList(Integer uid, Integer pageNum, Integer size) throws Exception;
 
 
 
 
    /**
     * 添加取消
     * @param id
     * @param reason
     * @param remark
     * @param uid
     * @throws Exception
     */
    ResultUtil addCancle(Integer id, String reason, String remark, Integer uid) throws Exception;
 
 
 
}