| | |
| | | import com.xiaopeng.api.dto.vehicleConvoy.BaseVehicleUserDto; |
| | | import com.xiaopeng.api.feignClient.automaticPilot.OrderMissionClient; |
| | | import com.xiaopeng.api.feignClient.map.XpMapClient; |
| | | import com.xiaopeng.api.feignClient.order.XpCruiseOrderClient; |
| | | import com.xiaopeng.api.feignClient.order.XpOrderClient; |
| | | import com.xiaopeng.api.feignClient.vehicleConvoy.UserVehicleClient; |
| | | import com.xiaopeng.api.feignClient.vehicleConvoy.XpVehicleClient; |
| | |
| | | private IXpTradingStrategyService xpTradingStrategyService; |
| | | |
| | | @Autowired |
| | | private UserVehicleClient userVehicleClient; |
| | | private XpCruiseOrderClient xpCruiseOrderClient; |
| | | |
| | | @Autowired |
| | | private XpVehicleClient xpVehicleClient; |
| | |
| | | lock.unlock(); |
| | | continue; |
| | | } |
| | | // 关闭巡游单子 TODO |
| | | |
| | | // 关闭巡游单子 |
| | | xpCruiseOrderClient.updateCruiseOrder(vehiclePosition.getVehicleVin()); |
| | | |
| | | PushOrderDto pushOrderDto = new PushOrderDto(); |
| | | pushOrderDto.setOrderId(xpOrder.getId()); |
| | | pushOrderDto.setOrderId(xpOrder.getId().toString()); |
| | | pushOrderDto.setVin(vehiclePosition.getVehicleVin()); |
| | | |
| | | |
| | |
| | | lock.unlock(); |
| | | continue; |
| | | } |
| | | // 关闭巡游单子 TODO |
| | | // 关闭巡游单子 |
| | | xpCruiseOrderClient.updateCruiseOrder(vehicleId1.getVehicleVin()); |
| | | |
| | | |
| | | PushOrderDto pushOrderDto = new PushOrderDto(); |
| | | pushOrderDto.setOrderId(xpOrder.getId()); |
| | | pushOrderDto.setOrderId(xpOrder.getId().toString()); |
| | | pushOrderDto.setVin(vehiclePosition.getVin()); |
| | | |
| | | // 调用推送服务 orderId + carVin |
| | |
| | | lock.unlock(); |
| | | continue; |
| | | } |
| | | // 关闭巡游单子 TODO |
| | | // 关闭巡游单子 |
| | | xpCruiseOrderClient.updateCruiseOrder(vehicleId1.getVehicleVin()); |
| | | |
| | | PushOrderDto pushOrderDto = new PushOrderDto(); |
| | | pushOrderDto.setOrderId(data.getId()); |
| | | pushOrderDto.setOrderId(data.getId().toString()); |
| | | pushOrderDto.setVin(vehiclePosition.getVin()); |
| | | // 调用推送服务 orderId + carVin |
| | | orderMissionClient.pushOrder(pushOrderDto); |