| | |
| | | } |
| | | |
| | | private void fillPointInfo(XpAppUserCollectAddrVO collectAddrVO, XpPoint point, XpUserCollectAddrListQuery query) { |
| | | Integer parkingTimeLimit = point.getParkingTimeLimit(); |
| | | //如果点位位于场站内,则使用场站的限停时间 |
| | | if(null != point.getStationId()){ |
| | | XpStation xpStation = xpStationClient.getXpStationById(point.getStationId()).getData(); |
| | | parkingTimeLimit = xpStation.getParkingTimeLimit(); |
| | | } |
| | | collectAddrVO.setPointName(point.getPointName()); |
| | | collectAddrVO.setPointAddress(point.getPointAddress()); |
| | | collectAddrVO.setElectronicAreaId(point.getElectronicAreaId()); |
| | | collectAddrVO.setTime(point.getParkingTimeLimit()); |
| | | collectAddrVO.setTime(parkingTimeLimit); |
| | | fillEffectiveTime(collectAddrVO, point.getEffectiveTimePeriod()); |
| | | fillDistance(collectAddrVO, point, query); |
| | | } |