Merge remote-tracking branch 'origin/huacheng_zts' into huacheng_test
| | |
| | | if (sub.equals(Constants.VILLAGE)){ |
| | | type=2; |
| | | } |
| | | if (loginUserInfoVO.getAccount().equals("fangyipingtai")){ |
| | | type=3; |
| | | } |
| | | return userService.communityList(type); |
| | | } |
| | | } |
| | |
| | | StreetVO vo = iterator.next(); |
| | | List<CommunityVO> communityVOS = userDao.selectCommunityByStreetId(vo.getId(), type); |
| | | vo.setCommunityList(communityVOS); |
| | | if (communityVOS==null || communityVOS.size()==0){ |
| | | iterator.remove(); |
| | | if (type!=3){ |
| | | if (communityVOS==null || communityVOS.size()==0){ |
| | | iterator.remove(); |
| | | } |
| | | } |
| | | } |
| | | List<StreetVOS> list=new ArrayList<>(); |