|
|
@ -57,6 +57,7 @@ public class ProjectServiceImpl implements ProjectService { |
|
|
|
resultDTO.setPendingRatio(percent.format(pendingRatio.doubleValue())); |
|
|
|
resultDTO.setClosedRatio(percent.format(resultDTO.getClosedRatioInt().setScale(4, RoundingMode.HALF_UP).doubleValue())); |
|
|
|
} else { |
|
|
|
resultDTO = new ProjectSummaryResultDTO(); |
|
|
|
resultDTO.setAgencyId(agencyId); |
|
|
|
Date date = DateUtils.getBeforeDay(new Date()); |
|
|
|
resultDTO.setDateName(DateUtils.format(date, "yyyy.MM.dd")); |
|
|
|