| | |
| | | if (targSiteArea != null && !targSiteArea.isEmpty()) { |
| | | for (String areaId : targSiteArea) { |
| | | BasStationArea basStationArea = basStationAreaService.getById(Long.parseLong(areaId)); |
| | | if (basStationArea == null || basStationArea.getStationAlias() == null || basStationArea.getStationAlias().isEmpty()) { |
| | | if (basStationArea == null || basStationArea.getStationAliasStaNo() == null || basStationArea.getStationAliasStaNo().isEmpty()) { |
| | | continue; |
| | | } |
| | | siteList.put(basStationArea.getStationAreaId(), basStationArea.getStationAlias()); |
| | | siteList.put(basStationArea.getStationAreaId(), basStationArea.getStationAliasStaNo()); |
| | | // siteList.addAll(basStationArea.getStationAlias()); |
| | | } |
| | | if (!siteList.isEmpty()) { |
| | |
| | | } |
| | | if (!basStation.getType().equals(0)){ |
| | | basStation.setUseStatus(LocStsType.LOC_STS_TYPE_S.type); |
| | | basStation.setBarcode(task.getBarcode()); |
| | | basStationService.updateById(basStation); |
| | | } |
| | | } |