| | |
| | | nearestNextVo.setAddress(xpPoint.getPointAddress()); |
| | | nearestNextVo.setTime(xpPoint.getParkingTimeLimit()); |
| | | nearestNextVo.setElectronicAreaId(xpPoint.getElectronicAreaId()); |
| | | nearestNextVo.setStationId(xpPoint.getStationId().toString()); |
| | | nearestNextVo.setStationId(xpPoint.getStationId()==null?null:xpPoint.getStationId().toString()); |
| | | |
| | | // 判断是否收藏 |
| | | if(pointIdsByUserId!=null && !pointIdsByUserId.getData().isEmpty()){ |
| | |
| | | return searchVo; |
| | | } |
| | | |
| | | @Override |
| | | public List<XpPointsListVo> getStationChildren(Long stationId) { |
| | | if (stationId == null) { |
| | | return Collections.emptyList(); |
| | | } |
| | | return this.baseMapper.queryStationChildren(Arrays.asList(stationId)); |
| | | } |
| | | |
| | | private List<XpPointsListVo> buildStationSearchResults(List<XpPointsListVo> stationList, |
| | | List<XpPointsListVo> stationChildren, |
| | | PointByNameQuery query) { |