fix:行程规划地点增加打车的地点
This commit is contained in:
parent
63219bfa3d
commit
668d08ee88
|
@ -284,7 +284,10 @@ public class OrderQuery {
|
||||||
.filter(Objects::nonNull)
|
.filter(Objects::nonNull)
|
||||||
.toList();
|
.toList();
|
||||||
locationRes.addAll(carLocationList);
|
locationRes.addAll(carLocationList);
|
||||||
res.setLocationResList(locationRes);
|
res.setLocationResList(locationRes.stream()
|
||||||
|
.distinct()
|
||||||
|
.filter(Objects::nonNull)
|
||||||
|
.toList());
|
||||||
res.setUserName(user.getName());
|
res.setUserName(user.getName());
|
||||||
|
|
||||||
if (LocalDateTime.now().isAfter(routeOrder.getEndTime())) {
|
if (LocalDateTime.now().isAfter(routeOrder.getEndTime())) {
|
||||||
|
|
Loading…
Reference in New Issue