puzhibing
2026-04-28 19787c0b4f5f29026c1790bbb043b9186cdd0e11
xp-robotaxi-order-boot/src/main/java/com/xiaopeng/order/service/impl/XpOrderServiceImpl.java
@@ -3853,13 +3853,20 @@
                return true;
            }
        }
        RouteVo routeVo = this.getRouteVo(xpOrder, vehicleVin);
        if(routeVo.getDistance() <sylc){
            isCancel = true;
        try {
            RouteVo routeVo = this.getRouteVo(xpOrder, vehicleVin);
            if(routeVo.getDistance() <sylc){
                isCancel = true;
            }
            if(routeVo.getDuration() < sysj){
                isCancel = true;
            }
        } catch (Exception e) {
            log.error("获取两个点位车的距离错误",e);
            throw new ServiceException("获取两个点位车的距离错误");
        }
        if(routeVo.getDuration() < sysj){
            isCancel = true;
        }
        return isCancel;
    }