|
@ -56,7 +56,7 @@ public class GovernRankDataExtractServiceImpl implements GovernRankDataExtractSe |
|
|
//满意率 满意和非常满意占比
|
|
|
//满意率 满意和非常满意占比
|
|
|
List<OrgStatisticsResultDTO> satisfactionList = factOriginProjectLogDailyService.getGridSatisfaction(customerId, monthId); |
|
|
List<OrgStatisticsResultDTO> satisfactionList = factOriginProjectLogDailyService.getGridSatisfaction(customerId, monthId); |
|
|
if (!CollectionUtils.isEmpty(satisfactionList)) { |
|
|
if (!CollectionUtils.isEmpty(satisfactionList)) { |
|
|
list.forEach(entity -> satisfactionList.stream().filter(item -> item.getAgencyId().equals(entity.getOrgId())).forEach(dto -> { |
|
|
list.forEach(entity -> satisfactionList.stream().filter(item -> item.getOrgId().equals(entity.getOrgId())).forEach(dto -> { |
|
|
if (dto.getSum() != NumConstant.ZERO) { |
|
|
if (dto.getSum() != NumConstant.ZERO) { |
|
|
BigDecimal sum = new BigDecimal(dto.getSum()); |
|
|
BigDecimal sum = new BigDecimal(dto.getSum()); |
|
|
BigDecimal count = new BigDecimal(dto.getCount()); |
|
|
BigDecimal count = new BigDecimal(dto.getCount()); |
|
|