| | |
| | | public R pagePartyOrganization(PagePartyOrganizationVO pagePartyOrganizationVO) { |
| | | |
| | | Long communityId = pagePartyOrganizationVO.getCommunityId(); |
| | | List<Long> communityIds = comPbMemberDAO.selectIds(communityId); |
| | | if (CollUtil.isEmpty(communityIds)) { |
| | | communityIds = new ArrayList<>(); |
| | | communityIds.add(communityId); |
| | | |
| | | if (null != communityId){ |
| | | List<Long> communityIds = comPbMemberDAO.selectIds(communityId); |
| | | if (CollUtil.isEmpty(communityIds)) { |
| | | communityIds = new ArrayList<>(); |
| | | communityIds.add(communityId); |
| | | } |
| | | pagePartyOrganizationVO.setCommunityIds(communityIds); |
| | | } |
| | | pagePartyOrganizationVO.setCommunityIds(communityIds); |
| | | |
| | | Page page = new Page<>(); |
| | | Long pageNum = pagePartyOrganizationVO.getPageNum(); |