|
|
@ -802,6 +802,7 @@ public class ResiGroupServiceImpl extends BaseServiceImpl<ResiGroupDao, ResiGrou |
|
|
|
groupsInGridResultDTO.setStatus(group.getState()); |
|
|
|
groupsInGridResultDTO.setTotalMember(NumConstant.ZERO); |
|
|
|
groupsInGridResultDTO.setTotalPartyMember(NumConstant.ZERO); |
|
|
|
groupsInGridResultDTO.setGroupType(group.getGroupType()); |
|
|
|
resultList.add(groupsInGridResultDTO); |
|
|
|
} else if(MemberStateConstant.APPROVED.equals(group.getState())) { |
|
|
|
//缓存中获取组信息
|
|
|
@ -812,6 +813,12 @@ public class ResiGroupServiceImpl extends BaseServiceImpl<ResiGroupDao, ResiGrou |
|
|
|
groupsInGridResultDTO.setStatus(resiGroupInfoRedisDTO.getGroupState()); |
|
|
|
groupsInGridResultDTO.setTotalMember(resiGroupInfoRedisDTO.getGroupStatisticalInfo().getTotalMembers()); |
|
|
|
groupsInGridResultDTO.setTotalPartyMember(resiGroupInfoRedisDTO.getGroupStatisticalInfo().getTotalPartyMembers()); |
|
|
|
if (StringUtils.isNotEmpty(resiGroupInfoRedisDTO.getGroupType())){ |
|
|
|
groupsInGridResultDTO.setGroupType(resiGroupInfoRedisDTO.getGroupType()); |
|
|
|
}else { |
|
|
|
ResiGroupDTO resiGroupDTO = get(group.getId()); |
|
|
|
groupsInGridResultDTO.setGroupType(resiGroupDTO.getGroupType()); |
|
|
|
} |
|
|
|
resultList.add(groupsInGridResultDTO); |
|
|
|
} |
|
|
|
|
|
|
|