liujie
2026-02-26 acce9d97f475f3b71b33ec3e6f8a0893b49183b8
xp-robotaxi-automatic-pilot-boot/src/main/java/com/xiaopeng/automaticPilot/service/KafkaConsumerService.java
@@ -427,13 +427,17 @@
            if (orderId.contains("XU")) {
                orderType = OrderType.CRUISE_ORDER;
                // todo 下发巡游单的导航数据
                R<XpCruiseOrder> cruiseOrder = xpCruiseOrderClient.getCruiseOrder(orderId);
                XpCruiseOrder xpCruiseOrder = cruiseOrder.getData();
                //先响应消息
                responseMessage(sequence, "");
                //构建导航数据给到车端
                origin.setLongitude(116.40528);
                origin.setLatitude(39.90498);
                destination.setLongitude(116.40528);
                destination.setLatitude(39.90498);
                origin.setLongitude(longitude);
                origin.setLatitude(latitude);
                destination.setLongitude(xpCruiseOrder.getEndLon());
                destination.setLatitude(xpCruiseOrder.getEndLat());
                OrderRouteAndFareDto dto = new OrderRouteAndFareDto();
                dto.setOrderId(Long.parseLong(orderId));
@@ -447,7 +451,7 @@
                routeID = routeVo.getRouteID();
//                vehicleId = xpOrder.getVehicleId();
                vehicleId = xpCruiseOrder.getVehicleId();
            } else {
                orderType = OrderType.USER_ORDER;
                //正常单
@@ -557,7 +561,7 @@
                routeID = routeVo.getRouteID();
//                vehicleId = xpOrder.getVehicleId();
                vehicleId = xpCruiseOrder.getVehicleId();
            }
        } else {
            orderType = OrderType.USER_ORDER;