| | |
| | | log.error("获取所有站点信息异常"); |
| | | return; |
| | | } |
| | | // List<Integer> siteList = SortTheExecutionOfTheCarUtil.WrkMastExtractSites(wrkMasts); |
| | | // List<Integer> devpList = SortTheExecutionOfTheCarUtil.BasDevpPositionExtractSites(basDevpPositions); |
| | | // Integer siteNo = SortTheExecutionOfTheCarUtil.ObtainDenseAreasFirstPlace(siteList, devpList); |
| | | Integer siteNo = 110; |
| | | // if (siteNo == null) { |
| | | // log.error("就近密集原则获取站点失败"); |
| | | // return; |
| | | // } |
| | | List<Integer> siteList = SortTheExecutionOfTheCarUtil.WrkMastExtractSites(wrkMasts); |
| | | List<Integer> devpList = SortTheExecutionOfTheCarUtil.BasDevpPositionExtractSites(basDevpPositions); |
| | | Integer siteNo = SortTheExecutionOfTheCarUtil.ObtainDenseAreasFirstPlace(siteList, devpList); |
| | | if (siteNo == null) { |
| | | log.error("就近密集原则获取站点失败"); |
| | | return; |
| | | } |
| | | Long sitePosition = 0L; |
| | | for (BasDevpPosition basDevpPosition : basDevpPositions) { |
| | | if (basDevpPosition.getDevNo().equals(siteNo)) { |