|
|
@ -891,8 +891,8 @@ public class ResiGroupServiceImpl extends BaseServiceImpl<ResiGroupDao, ResiGrou |
|
|
|
for(String gridId:gridIdList){ |
|
|
|
GroupProcessingCountResultDTO resultDTO=new GroupProcessingCountResultDTO(); |
|
|
|
resultDTO.setGridId(gridId); |
|
|
|
Integer auditingCreateGroupCount=resiGroupRedis.getWorkGrassrootsGroupRedDotValue(gridId); |
|
|
|
Integer auditingGroupEditRecordCount=groupEditSubmitRecordDao.selectCountAuditingRec(gridId); |
|
|
|
Integer auditingCreateGroupCount=Optional.ofNullable(resiGroupRedis.getWorkGrassrootsGroupRedDotValue(gridId)).orElse(NumConstant.ZERO); |
|
|
|
Integer auditingGroupEditRecordCount=Optional.ofNullable(groupEditSubmitRecordDao.selectCountAuditingRec(gridId)).orElse(NumConstant.ZERO); |
|
|
|
Integer auditingCount=auditingCreateGroupCount+auditingGroupEditRecordCount; |
|
|
|
if (null == auditingCount) { |
|
|
|
resultDTO.setCount(0); |
|
|
|