| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -666,16 +666,29 @@ public class ResiGroupServiceImpl extends BaseServiceImpl<ResiGroupDao, ResiGrou | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							int pageIndex = (formDTO.getPageNo() - NumConstant.ONE) * formDTO.getPageSize(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							formDTO.setPageNo(pageIndex); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							List<ResiGroupEntity> list = baseDao.selectGroupsByGridId(formDTO); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							list.stream().filter(group -> StringUtils.equals(ModuleConstant.GROUP_STATUS_APPROVED,group.getState())).collect(Collectors.toList()).forEach(i -> { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							list.forEach(group -> { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								//缓存中获取组信息
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								ResiGroupInfoRedisDTO resiGroupInfoRedisDTO = resiGroupRedis.get(i.getId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								ResiGroupInfoRedisDTO resiGroupInfoRedisDTO = resiGroupRedis.get(group.getId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								GroupsInGridResultDTO groupsInGridResultDTO = new GroupsInGridResultDTO(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								groupsInGridResultDTO.setGroupId(resiGroupInfoRedisDTO.getGroupId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								groupsInGridResultDTO.setGroupName(resiGroupInfoRedisDTO.getGroupName()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								groupsInGridResultDTO.setGroupHeadPhoto(resiGroupInfoRedisDTO.getGroupHeadPhoto()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								groupsInGridResultDTO.setStatus(resiGroupInfoRedisDTO.getGroupState()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								groupsInGridResultDTO.setTotalMember(resiGroupInfoRedisDTO.getGroupStatisticalInfo().getTotalMembers()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								groupsInGridResultDTO.setTotalPartyMember(resiGroupInfoRedisDTO.getGroupStatisticalInfo().getTotalPartyMembers()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								if (null == resiGroupInfoRedisDTO) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									if (MemberStateConstant.REJECTED.equals(group.getState())) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										groupsInGridResultDTO.setGroupId(group.getId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										groupsInGridResultDTO.setGroupName(group.getGroupName()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										groupsInGridResultDTO.setGroupHeadPhoto(group.getGroupHeadPhoto()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										groupsInGridResultDTO.setStatus(group.getState()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										groupsInGridResultDTO.setTotalMember(NumConstant.ZERO); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										groupsInGridResultDTO.setTotalPartyMember(NumConstant.ZERO); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									groupsInGridResultDTO.setGroupId(resiGroupInfoRedisDTO.getGroupId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									groupsInGridResultDTO.setGroupName(resiGroupInfoRedisDTO.getGroupName()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									groupsInGridResultDTO.setGroupHeadPhoto(resiGroupInfoRedisDTO.getGroupHeadPhoto()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									groupsInGridResultDTO.setStatus(resiGroupInfoRedisDTO.getGroupState()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									groupsInGridResultDTO.setTotalMember(resiGroupInfoRedisDTO.getGroupStatisticalInfo().getTotalMembers()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									groupsInGridResultDTO.setTotalPartyMember(resiGroupInfoRedisDTO.getGroupStatisticalInfo().getTotalPartyMembers()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								resultList.add(groupsInGridResultDTO); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							}); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |