Commit 6e6ba294 authored by Md Suleman's avatar Md Suleman

updated ReportService by removing non dev functional group in chart for utilization report

parent 7bc4b2b9
......@@ -43,7 +43,9 @@ public class ReportService implements IReportService {
ReportVo reportVo = new ReportVo();
if(byType.equals("FunctionalGroup")) {
functionalGroupService.getAllFunctionalGroups().forEach(f -> reportVo.getCategoriesList().add(f.getName()));
functionalGroupService.getAllFunctionalGroups().stream().
filter(f -> !Arrays.asList("IT","Recruiter","Admin","HR","Accounts").contains(f.getName())).
forEach(f -> reportVo.getCategoriesList().add(f.getName()));
} else {
accountService.getAllAccounts().forEach(a -> reportVo.getCategoriesList().add(a.getAccountName()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment