| | |
| | | } |
| | | page.setSize(pageSize); |
| | | page.setCurrent(pageNum); |
| | | Long communityId = pagePartyOrganizationVO.getCommunityId(); |
| | | if (null != communityId){ |
| | | List<Long> communityIds = comPbMemberDAO.selectIds(communityId); |
| | | if (CollUtil.isEmpty(communityIds)) { |
| | | communityIds = new ArrayList<>(); |
| | | communityIds.add(communityId); |
| | | } |
| | | pagePartyOrganizationVO.setCommunityIds(communityIds); |
| | | } |
| | | IPage<PartyBuildingMemberVO> iPage = comPbMemberWestDAO.queryAllByLimit(page, pagePartyOrganizationVO); |
| | | iPage.getRecords().forEach(record -> { |
| | | record.setIdCard(SensitiveUtil.desensitizedIdNumber(record.getIdCard())); |