| | |
| | | |
| | | if (count == basStationAreas.size()) { |
| | | if (!Objects.isNull(basStation)) { |
| | | orderOutItemDto.setTargSiteAreaNow(basStationArea.getStationAreaId()); |
| | | orderOutItemDto.setSiteNo(basStation.getStationName()); |
| | | // throw new CoolException("站點不存在!!"); |
| | | } else if (!stas.isEmpty()) { |
| | | orderOutItemDto.setTargSiteAreaNow(basStationArea.getStationAreaId()); |
| | | orderOutItemDto.setSiteNo(basStationArea.getStationAlias().get(0)); |
| | | } else { |
| | | throw new CoolException("未找到符合条件站点!!!请检查库区或者路径配置!!!"); |
| | |
| | | continue; |
| | | // throw new CoolException("站點不存在!!"); |
| | | } |
| | | orderOutItemDto.setTargSiteAreaNow(basStationArea.getStationAreaId()); |
| | | orderOutItemDto.setSiteNo(basStation.getStationName()); |
| | | } |
| | | |