| | |
| | | * @param orderId 订单id |
| | | * @return 订单详情 |
| | | */ |
| | | @PostMapping("/inner/v1/testOrder/queryOrderById") |
| | | @PostMapping("/logan/inner/v1/testOrder/queryOrderById") |
| | | public R<XpTestOrder> queryOrderById(@RequestParam Long orderId){ |
| | | XpTestOrder xpTestOrder = xpTestOrderService.getById(orderId); |
| | | return R.ok(xpTestOrder); |
| | |
| | | * @param status |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/v1/testOrder/updateOrderStatus") |
| | | @PostMapping("/logan/inner/v1/testOrder/updateOrderStatus") |
| | | public R<String> updateOrderStatus(@RequestParam Long orderId, |
| | | @RequestParam Integer status){ |
| | | xpTestOrderService.updateOrderStatus(orderId, status); |
| | |
| | | /** |
| | | * 订单车辆定位实时存储-订单车辆定位实时存储(内部接口) |
| | | */ |
| | | @PostMapping("/inner/v1/testOrder/saveVehicleLocation") |
| | | @PostMapping("/logan/inner/v1/testOrder/saveVehicleLocation") |
| | | public R<String> saveVehicleLocation(@RequestBody OrderTrajectoryVo vo) { |
| | | OrderTrajectory orderTrajectory = new OrderTrajectory(); |
| | | BeanUtils.copyProperties(vo, orderTrajectory); |