luodangjia
2024-06-11 9d2babb8bb99d55d76eab0558fd9f510652b270c
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.TOrderTransfer;
import com.stylefeng.guns.modular.system.util.ResultUtil;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 订单-专车 服务类
 * </p>
 *
 * @author 吕雪
 * @since 2020-09-02
 */
public interface ITOrderTransferService extends IService<TOrderTransfer> {
    ResultUtil grabOrder(Integer orderId, Integer uid) throws Exception;
 
    Map<String, Object> queryPushOrder(Integer orderId) throws Exception;
 
 
    /**
     * 根据条件查询专车订单列表
     * @return
     */
    List<Map<String,Object>> getTransferOrderList(@Param("page") Page<Map<String, Object>> page,
                                                    @Param("beginTime") String beginTime,
                                                    @Param("endTime") String endTime,
                                                    @Param("roleType") Integer roleType,
                                                    @Param("nowUserId") Integer nowUserId,
                                                    @Param("orderNum") String orderNum,
                                                    @Param("orderSource") Integer orderSource,
                                                    @Param("userName") String userName,
                                                    @Param("userPhone") String userPhone,
                                                    @Param("passengers") String passengers,
                                                    @Param("passengersPhone") String passengersPhone,
                                                    @Param("serverCarModelId") Integer serverCarModelId,
                                                    @Param("driver") String driver,
                                                    @Param("state") Integer state);
 
    /**
     * 根据专车订单ID获取专车订单详情
     * @param orderId
     * @return
     */
    Map<String,Object> getTransferOrderDetailById(@Param("orderId") Integer orderId);
 
    List<Map<String, Object>> queryOrderList(Integer state, Integer driverId) throws Exception;
 
    Map<String, Object> queryOrderInfo(Integer orderId) throws Exception;
 
    ResultUtil process(Integer orderId, Integer state, Double lon, Double lat, String address) throws Exception;
 
    Map<String, Object> queryMoneyInfo(Integer orderId) throws Exception;
 
    ResultUtil confirmFees(Integer orderId, Integer type, Double parkingFee, Double crossingFee) throws Exception;
 
    List<Map<String, Object>> queryMyAllOrder(Integer state, Integer uid) throws Exception;
}