|
|
@ -559,7 +559,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()).multiply(NumConstant.ONE_HUNDRED_DECIMAL))); |
|
|
|
project.setIssueToProjectRatio(getRound(new BigDecimal(project.getProjectTotal()).divide(new BigDecimal(issue.getIssueTotal()),NumConstant.EIGHT,BigDecimal.ROUND_HALF_UP).multiply(NumConstant.ONE_HUNDRED_DECIMAL))); |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|