|
@ -247,7 +247,7 @@ public class StatsProjectServiceImpl implements StatsProjectService { |
|
|
if (mapList.containsKey(agency.getId())) { |
|
|
if (mapList.containsKey(agency.getId())) { |
|
|
entity = mapList.get(agency.getId()); |
|
|
entity = mapList.get(agency.getId()); |
|
|
entity.setProjectTotal(entity.getProjectTotal() + projectTotal.intValue()); |
|
|
entity.setProjectTotal(entity.getProjectTotal() + projectTotal.intValue()); |
|
|
entity.setPendingTotal(entity.getPendingTotal() + projectTotal.intValue() - closedTotal.intValue()); |
|
|
entity.setPendingTotal(entity.getProjectTotal() - closedTotal.intValue()); |
|
|
entity.setClosedTotal(entity.getClosedTotal() + closedTotal.intValue()); |
|
|
entity.setClosedTotal(entity.getClosedTotal() + closedTotal.intValue()); |
|
|
if (projectTotal.intValue() > NumConstant.ZERO) { |
|
|
if (projectTotal.intValue() > NumConstant.ZERO) { |
|
|
entity.setPendingRatio(new BigDecimal(numberFormat.format((float) entity.getPendingTotal() / (float) entity.getProjectTotal()))); |
|
|
entity.setPendingRatio(new BigDecimal(numberFormat.format((float) entity.getPendingTotal() / (float) entity.getProjectTotal()))); |
|
|