java8
List<Integer> collect = responsePage.getRecords().stream().map(x -> x.getId()).collect(Collectors.toList());
List<ManageRegionVO> popedomAreas = iSitePopedomChangeService.queryUnSelfByRegionId(manageAreaByName.getRegionId());
if (popedomAreas.stream().noneMatch(item -> changePopedomAreaName.equals(item.getRegionName()))) {
throw new ServiceRuntimeException("该中心下不存在此辖区,请确认!");
}