|
|
@ -284,6 +284,7 @@ public class ScreenProjectServiceImpl implements ScreenProjectService { |
|
|
|
endCategoryList.forEach(e -> { |
|
|
|
e.setTotalRatio(ratio(e.getProjectTotal(), finalTotal)); |
|
|
|
e.setClosedRatio(ratio(e.getClosedProjectTotal(),e.getProjectTotal())); |
|
|
|
e.setAllProjectTotal(finalTotal); |
|
|
|
}); |
|
|
|
}else { |
|
|
|
Integer endTotal = screenProjectOrgDailyDao.selectProjectTotalByAgency(customerId, endTime, orgId); |
|
|
@ -302,6 +303,7 @@ public class ScreenProjectServiceImpl implements ScreenProjectService { |
|
|
|
endCategoryList.forEach(e -> { |
|
|
|
e.setTotalRatio(ratio(e.getProjectTotal(), finalTotal)); |
|
|
|
e.setClosedRatio(ratio(e.getClosedProjectTotal(),e.getProjectTotal())); |
|
|
|
e.setAllProjectTotal(finalTotal); |
|
|
|
}); |
|
|
|
} |
|
|
|
List<ProjectCategoryResultDTO> finalEndCategoryList = endCategoryList; |
|
|
|