| | |
| | | import com.xiaopeng.api.dto.order.HistoryStartPointsDto; |
| | | import com.xiaopeng.api.factory.operation.XpCruisePlanClientFallbackFactory; |
| | | import com.xiaopeng.api.factory.operation.XpPointClientFallbackFactory; |
| | | import com.xiaopeng.api.model.operation.XpCruisePlanPoint; |
| | | import com.xiaopeng.api.model.operation.XpElectronicFenceArea; |
| | | import com.xiaopeng.api.model.operation.XpPoint; |
| | | import com.xiaopeng.api.model.operation.*; |
| | | import com.xiaopeng.api.model.order.XpCruiseOrder; |
| | | import com.xiaopeng.api.query.operation.PointListQuery; |
| | | import com.xiaopeng.api.query.operation.PointPageListListQuery; |
| | |
| | | * 获取车辆下个点位 |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/cruise/getCruisePoint") |
| | | @PostMapping("/logan/inner/cruise/getCruisePoint") |
| | | R<XpCruiseOrder> getCruisePoint(@RequestBody CruisePointDto dto); |
| | | |
| | | |
| | |
| | | * 组装巡游单子 |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/cruise/getNewCruiseOrder") |
| | | @PostMapping("/logan/inner/cruise/getNewCruiseOrder") |
| | | R<XpCruiseOrder> getNewCruiseOrder(@RequestBody NewCruiseOrderDto dto); |
| | | |
| | | /** |
| | | * 找到收车点位 |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/cruise/findReturnCruisePoint") |
| | | @PostMapping("/logan/inner/cruise/findReturnCruisePoint") |
| | | R<XpCruiseOrder> findReturnCruisePoint(@RequestBody XpCruiseOrder xpCruiseOrder); |
| | | |
| | | |
| | | /** |
| | | * 获取巡游计划 |
| | | * @param vehicleId |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/cruise/getCruisePlan") |
| | | R<XpCruisePlanVehicle> getCruisePlan(@RequestParam Long vehicleId); |
| | | |
| | | /** |
| | | * 获取巡游计划点位列表 |
| | | * @param vehicleId |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/cruise/getCruisePlanPointList") |
| | | R<List<XpCruisePlanPoint>> getCruisePlanPointList(@RequestParam Long vehicleId); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 判断点位ID列表是否存在关联的巡游计划点位 |
| | | * |
| | | * @param pointIds 点位ID列表 |
| | | * @return 是否存在关联 |
| | | */ |
| | | @PostMapping("/logan/inner/cruise/existsCruisePlanPointByPointIds") |
| | | R<Boolean> existsCruisePlanPointByPointIds(@RequestBody List<Long> pointIds); |
| | | |
| | | |
| | | |
| | | } |