|
@@ -1489,7 +1489,8 @@ public class kwfTruckTraceService {
|
|
|
endLat = address.getLat();
|
|
endLat = address.getLat();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (!Objects.equals(order.getStatus(), CarWaybillV1Enum.COMPLETED.getCode())){
|
|
|
|
|
|
|
+ List<Integer> statusList = Arrays.asList(CarWaybillV1Enum.COMPLETED.getCode(), CarWaybillV1Enum.COMPLETION_LOADING.getCode());
|
|
|
|
|
+ if (statusList.contains(order.getStatus())){
|
|
|
endLng = longitude;
|
|
endLng = longitude;
|
|
|
endLat = latitude;
|
|
endLat = latitude;
|
|
|
}
|
|
}
|