| Line 324... |
Line 324... |
| 324 |
List<String> stateNames = stateRepository.selectAll().stream().map(x -> x.getName()).collect(Collectors.toList());
|
324 |
List<String> stateNames = stateRepository.selectAll().stream().map(x -> x.getName()).collect(Collectors.toList());
|
| 325 |
// List<AuthUser> authUsers = authRepository.selectAllActiveUser();
|
325 |
// List<AuthUser> authUsers = authRepository.selectAllActiveUser();
|
| 326 |
List<AuthUser> authUsers = new ArrayList<>();
|
326 |
List<AuthUser> authUsers = new ArrayList<>();
|
| 327 |
List<AuthUser> salesUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
|
327 |
List<AuthUser> salesUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
|
| 328 |
List<AuthUser> abmUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_ABM, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
|
328 |
List<AuthUser> abmUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_ABM, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
|
| - |
|
329 |
List<AuthUser> bgcUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_BGC, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
|
| 329 |
authUsers.addAll(salesUsers);
|
330 |
authUsers.addAll(salesUsers);
|
| 330 |
authUsers.addAll(abmUsers);
|
331 |
authUsers.addAll(abmUsers);
|
| - |
|
332 |
authUsers.addAll(bgcUsers);
|
| 331 |
LocalDate lastDate = curDate.minusDays(1).toLocalDate();
|
333 |
LocalDate lastDate = curDate.minusDays(1).toLocalDate();
|
| 332 |
|
334 |
|
| 333 |
List<LocalDate> weekDates = new ArrayList<>();
|
335 |
List<LocalDate> weekDates = new ArrayList<>();
|
| 334 |
|
336 |
|
| 335 |
weekDates.add(curDate.minusDays(28).toLocalDate());
|
337 |
weekDates.add(curDate.minusDays(28).toLocalDate());
|