| | |
| | | import com.xiaopeng.api.dto.account.UcUserInfo; |
| | | import com.xiaopeng.api.dto.account.UseUserCouponDto; |
| | | import com.xiaopeng.api.dto.automaticPilot.PushOrderDto; |
| | | import com.xiaopeng.api.dto.operation.CruisePointDto; |
| | | import com.xiaopeng.api.dto.operation.LonLatDto; |
| | | import com.xiaopeng.api.dto.order.GetOrderNumDto; |
| | | import com.xiaopeng.api.dto.order.HistoryEndPointsDto; |
| | |
| | | xpCruiseOrder.setEndLon(xpCruiseOrders.getEndLon()); |
| | | xpCruiseOrder.setEndLat(xpCruiseOrders.getEndLat()); |
| | | } |
| | | xpCruiseOrder.setOrderReverse(xpCruiseOrders.getOrderReverse()); |
| | | xpCruiseOrder.setLastOrderId(xpCruiseOrders.getId()); |
| | | xpCruiseOrder.setMissionId(xpCruiseOrders.getMissionId()); |
| | | } |
| | |
| | | xpCruiseOrder.setEndLon(endPoint.getPointLon()); |
| | | xpCruiseOrder.setEndLat(endPoint.getPointLat()); |
| | | xpCruiseOrder.setMissionId(xpCruisePlanPoint.getCruisePlanId()); |
| | | xpCruiseOrder.setOrderReverse(1); |
| | | } |
| | | |
| | | |
| | |
| | | //找到车辆的收车点位 更新终点点位 |
| | | R<XpCruiseOrder> returnCruisePoint = xpCruisePlanClient.findReturnCruisePoint(xpCruiseOrder); |
| | | xpCruiseOrder = returnCruisePoint.getData(); |
| | | xpCruiseOrder.setOrderType(2); |
| | | xpCruiseOrder.setOrderReverse(1); |
| | | } |
| | | xpVehicleClient.updateVehicleById(vehicle); |
| | | } |
| | |
| | | xpCruiseOrder.setEndLon(xpCruiseOrders.getEndLon()); |
| | | xpCruiseOrder.setEndLat(xpCruiseOrders.getEndLat()); |
| | | } |
| | | xpCruiseOrder.setOrderReverse(xpCruiseOrders.getOrderReverse()); |
| | | xpCruiseOrder.setLastOrderId(xpCruiseOrders.getId()); |
| | | xpCruiseOrder.setMissionId(xpCruiseOrders.getMissionId()); |
| | | } |
| | |
| | | xpCruiseOrder.setEndLon(endPoint.getPointLon()); |
| | | xpCruiseOrder.setEndLat(endPoint.getPointLat()); |
| | | xpCruiseOrder.setMissionId(xpCruisePlanPoint.getCruisePlanId()); |
| | | xpCruiseOrder.setOrderReverse(1); |
| | | } |
| | | |
| | | |
| | |
| | | //找到车辆的收车点位 更新终点点位 |
| | | R<XpCruiseOrder> returnCruisePoint = xpCruisePlanClient.findReturnCruisePoint(xpCruiseOrder); |
| | | xpCruiseOrder = returnCruisePoint.getData(); |
| | | xpCruiseOrder.setOrderType(2); |
| | | xpCruiseOrder.setOrderReverse(1); |
| | | } |
| | | xpVehicleClient.updateVehicleById(vehicle); |
| | | } |