|
|
@ -360,37 +360,38 @@ public class TopicServiceImpl implements TopicService { |
|
|
|
|
|
|
|
|
|
|
|
List<ResiGroupTopicResultDTO> groups = gridGroupMap.get(gridId); |
|
|
|
groups.forEach(group -> { |
|
|
|
if(null != group && StringUtils.isNotBlank(group.getGroupId())){ |
|
|
|
if(null != groups) { |
|
|
|
groups.forEach(group -> { |
|
|
|
if (null != group && StringUtils.isNotBlank(group.getGroupId())) { |
|
|
|
|
|
|
|
|
|
|
|
issueAgencyM.setIssueIncr(issueAgencyM.getIssueIncr() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueIncr()); |
|
|
|
issueAgencyM.setIssueTotal(issueAgencyM.getIssueTotal() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueTotal()); |
|
|
|
issueAgencyM.setIssueIncr(issueAgencyM.getIssueIncr() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueIncr()); |
|
|
|
issueAgencyM.setIssueTotal(issueAgencyM.getIssueTotal() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueTotal()); |
|
|
|
|
|
|
|
issueGridM.setIssueIncr(issueGridM.getIssueIncr() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueIncr()); |
|
|
|
issueGridM.setIssueTotal(issueGridM.getIssueTotal() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueTotal()); |
|
|
|
issueGridM.setIssueIncr(issueGridM.getIssueIncr() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueIncr()); |
|
|
|
issueGridM.setIssueTotal(issueGridM.getIssueTotal() + groupTopicDataBetweenTimeRange.get(group.getGroupId()).getIssueTotal()); |
|
|
|
|
|
|
|
|
|
|
|
GroupTopicData data = groupTopicData.get(group.getGroupId()); |
|
|
|
if(null != data){ |
|
|
|
GroupTopicData data = groupTopicData.get(group.getGroupId()); |
|
|
|
if (null != data) { |
|
|
|
|
|
|
|
|
|
|
|
topicAgencyM_discussing.setTopicCount(topicAgencyM_discussing.getTopicCount() + data.getDiscussingTotal()); |
|
|
|
topicAgencyM_discussing.setTopicIncr(topicAgencyM_discussing.getTopicIncr() + data.getDiscussingIncr()); |
|
|
|
topicAgencyM_discussing.setTopicCount(topicAgencyM_discussing.getTopicCount() + data.getDiscussingTotal()); |
|
|
|
topicAgencyM_discussing.setTopicIncr(topicAgencyM_discussing.getTopicIncr() + data.getDiscussingIncr()); |
|
|
|
|
|
|
|
topicAgencyM_hidden.setTopicCount(topicAgencyM_hidden.getTopicCount() + data.getHiddenTotal()); |
|
|
|
topicAgencyM_hidden.setTopicIncr(topicAgencyM_hidden.getTopicIncr() + data.getHiddenIncr()); |
|
|
|
topicAgencyM_hidden.setTopicCount(topicAgencyM_hidden.getTopicCount() + data.getHiddenTotal()); |
|
|
|
topicAgencyM_hidden.setTopicIncr(topicAgencyM_hidden.getTopicIncr() + data.getHiddenIncr()); |
|
|
|
|
|
|
|
topicAgencyM_closed.setTopicCount(topicAgencyM_closed.getTopicCount() + data.getClosedTotal()); |
|
|
|
topicAgencyM_closed.setTopicIncr(topicAgencyM_closed.getTopicIncr() + data.getClosedIncr()); |
|
|
|
topicAgencyM_closed.setTopicCount(topicAgencyM_closed.getTopicCount() + data.getClosedTotal()); |
|
|
|
topicAgencyM_closed.setTopicIncr(topicAgencyM_closed.getTopicIncr() + data.getClosedIncr()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
if(!gridDistinct.get(gridId)) { |
|
|
|
setGridMonthlyDataPacket(dataPacket, issueGridM); |
|
|
|
} |
|
|
@ -446,7 +447,7 @@ public class TopicServiceImpl implements TopicService { |
|
|
|
}else{ |
|
|
|
|
|
|
|
for (ResiTopicResultDTO topic : group.getTopics()) { |
|
|
|
|
|
|
|
if(StringUtils.isBlank(topic.getTopicId())) continue; |
|
|
|
if (StringUtils.equals(NumConstant.ONE_STR, topic.getIncrFlag())) { |
|
|
|
groupTopicData.setTopicIncr(groupTopicData.getTopicIncr() + NumConstant.ONE); |
|
|
|
} |
|
|
|