|
|
|
@ -282,7 +282,7 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { |
|
|
|
notReturnProjectList.forEach(not -> { |
|
|
|
gridIssueShiftProjectRatio.forEach(total -> { |
|
|
|
if (not.getGridId().equals(total.getGridId())){ |
|
|
|
not.setTransferRightRatio(getRound(new BigDecimal(not.getNotReturnProject()/total.getProjectTotal()))); |
|
|
|
not.setTransferRightRatio(getRound(new BigDecimal(not.getNotReturnProject()/total.getProjectTotal()).multiply(NumConstant.ONE_HUNDRED_DECIMAL))); |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
@ -319,7 +319,7 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { |
|
|
|
scoreMap.forEach((k,v) -> { |
|
|
|
allScore.set(++v); |
|
|
|
}); |
|
|
|
resultSatisfactionScore.put(gridId,getRound(new BigDecimal(allScore.get()/scoreMap.size()))); |
|
|
|
resultSatisfactionScore.put(gridId,getRound(new BigDecimal(allScore.get()/scoreMap.size()).multiply(NumConstant.ONE_HUNDRED_DECIMAL))); |
|
|
|
}); |
|
|
|
} |
|
|
|
String quarterId = DateUtils.getQuarterId(monthId); |
|
|
|
@ -491,7 +491,7 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { |
|
|
|
gridProjectTotalList.forEach(project -> { |
|
|
|
gridIssueTotalList.forEach(issue -> { |
|
|
|
if (project.getGridId().equals(issue.getGridId())) { |
|
|
|
project.setIssueToProjectRatio(getRound(new BigDecimal(project.getProjectTotal() / issue.getIssueTotal()))); |
|
|
|
project.setIssueToProjectRatio(getRound(new BigDecimal(project.getProjectTotal() / issue.getIssueTotal()).multiply(NumConstant.ONE_HUNDRED_DECIMAL))); |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|