| | |
| | | |
| | | List<OrgDto> orgs = BeanConvertUtil.covertBeanList(orgServiceDaoImpl.getOrgInfo(BeanConvertUtil.beanCovertMap(orgDto)), OrgDto.class); |
| | | |
| | | String[] communityIds = getCommunityIds(orgs); |
| | | if (communityIds == null || communityIds.length < 0) { |
| | | return orgs; |
| | | } |
| | | CommunityDto communityDto = new CommunityDto(); |
| | | communityDto.setCommunityIds(getCommunityIds(orgs)); |
| | | communityDto.setCommunityIds(communityIds); |
| | | List<CommunityDto> communityDtos = communityInnerServiceSMOImpl.queryCommunitys(communityDto); |
| | | |
| | | for (CommunityDto tmpCommunityDto : communityDtos) { |