Subversion Repositories SmartDukaan

Rev

Rev 34031 | Rev 34055 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34031 Rev 34032
Line 250... Line 250...
250
        }
250
        }
251
 
251
 
252
        if (authPositon && authUserIds.size() > 0) {
252
        if (authPositon && authUserIds.size() > 0) {
253
            List<String> leadCreators = new ArrayList<>();
253
            List<String> leadCreators = new ArrayList<>();
254
            leadCreators.add("daily-sync");
254
            leadCreators.add("daily-sync");
255
            leadCreators.addAll(csService.getAuthUserByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_SALES).stream().map(x -> x.getFullName()).collect(Collectors.toList()));
255
            leadCreators.addAll(csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L1, EscalationType.L2)).stream().map(x -> x.getFullName()).collect(Collectors.toList()));
256
            leadCreators.addAll(csService.getAuthUserByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_CRM).stream().map(x -> x.getFullName()).collect(Collectors.toList()));
256
            leadCreators.addAll(csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_BGC, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3)).stream().map(x -> x.getFullName()).collect(Collectors.toList()));
257
            model.addAttribute("leadCreators", leadCreators);
257
            model.addAttribute("leadCreators", leadCreators);
258
        }
258
        }
259
        List<Lead> weekLast = new ArrayList<>();
259
        List<Lead> weekLast = new ArrayList<>();
260
        List<Lead> weekThird = new ArrayList<>();
260
        List<Lead> weekThird = new ArrayList<>();
261
        List<Lead> weekSecond = new ArrayList<>();
261
        List<Lead> weekSecond = new ArrayList<>();