|
|
@ -146,9 +146,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = topicStatic.get(item.getAgencyId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setTopicCount(dto.getCount()); |
|
|
|
item.setTopicRatio(dto.getRatio()); |
|
|
|
item.setTopicTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -159,9 +159,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = issueStatic.get(item.getAgencyId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setIssueCount(dto.getCount()); |
|
|
|
item.setIssueRatio(dto.getRatio()); |
|
|
|
item.setIssueTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -172,9 +172,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = projectStatic.get(item.getAgencyId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setProjectCount(dto.getCount()); |
|
|
|
item.setProjectRatio(dto.getRatio()); |
|
|
|
item.setProjectTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -185,9 +185,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = closedStatic.get(item.getAgencyId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setProjectClosedCount(dto.getCount()); |
|
|
|
item.setProjectClosedRatio(dto.getRatio()); |
|
|
|
item.setProjectClosedTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -214,7 +214,7 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
} |
|
|
|
//入参有客户Id的则按客户Id执行,没有的则全部客户都执行
|
|
|
|
if (null != formDTO && StringUtils.isNotBlank(formDTO.getCustomerId())) { |
|
|
|
customerAgencyStats(formDTO.getCustomerId(), date); |
|
|
|
customerGridStats(formDTO.getCustomerId(), date); |
|
|
|
} else { |
|
|
|
int pageNo = 1; |
|
|
|
int pageSize = 100; |
|
|
@ -282,9 +282,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = topicStatic.get(item.getGridId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setTopicCount(dto.getCount()); |
|
|
|
item.setTopicRatio(dto.getRatio()); |
|
|
|
item.setTopicTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -295,9 +295,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = issueStatic.get(item.getGridId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setIssueCount(dto.getCount()); |
|
|
|
item.setIssueRatio(dto.getRatio()); |
|
|
|
item.setIssueTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -308,9 +308,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = projectStatic.get(item.getGridId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setProjectCount(dto.getCount()); |
|
|
|
item.setProjectRatio(dto.getRatio()); |
|
|
|
item.setProjectTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@ -321,9 +321,9 @@ public class StatsPartyMemberVanguardServiceImpl implements StatsPartyMemberVang |
|
|
|
vanguardList.forEach(item -> { |
|
|
|
OrgStatisticsResultDTO dto = closedStatic.get(item.getGridId()); |
|
|
|
if (null != dto) { |
|
|
|
item.setGroupMemberCount(dto.getCount()); |
|
|
|
item.setGroupMemberRatio(dto.getRatio()); |
|
|
|
item.setGroupMemberTotal(dto.getSum()); |
|
|
|
item.setProjectClosedCount(dto.getCount()); |
|
|
|
item.setProjectClosedRatio(dto.getRatio()); |
|
|
|
item.setProjectClosedTotal(dto.getSum()); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|