puzhibing
2023-08-17 9e4440e8ce1ed3c72932f3f62f4d05f55c9080e6
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
package com.supersavedriving.driver.modular.system.service;
 
import com.supersavedriving.driver.modular.system.warpper.DriverPositionWarpper;
import com.supersavedriving.driver.modular.system.warpper.OrderPositionWarpper;
 
import java.util.List;
 
public interface IOrderPositionService {
 
 
    /**
     * 存储最新订单坐标
     * @param driverPositionWarpper
     * @throws Exception
     */
    void saveOrderPosition(DriverPositionWarpper driverPositionWarpper) throws Exception;
 
 
    /**
     * 获取订单坐标
     * @param orderId
     * @param orderType
     * @return
     * @throws Exception
     */
    List<OrderPositionWarpper> queryPosition(Integer orderId, Integer orderType) throws Exception;
 
 
 
    void initMap(Long orderId) throws Exception;
}