Subversion Repositories SmartDukaan

Rev

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

Rev 37048 Rev 37287
Line 459... Line 459...
459
 
459
 
460
        LOGGER.info("leads" + leads);
460
        LOGGER.info("leads" + leads);
461
        List<String> stateNames = stateRepository.selectAll().stream().map(x -> x.getName()).collect(Collectors.toList());
461
        List<String> stateNames = stateRepository.selectAll().stream().map(x -> x.getName()).collect(Collectors.toList());
462
//        List<AuthUser> authUsers = authRepository.selectAllActiveUser();
462
//        List<AuthUser> authUsers = authRepository.selectAllActiveUser();
463
        List<AuthUser> authUsers = new ArrayList<>();
463
        List<AuthUser> authUsers = new ArrayList<>();
464
        List<AuthUser> salesUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
464
        List<AuthUser> salesUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_SALES, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3, EscalationType.L4));
465
        List<AuthUser> abmUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_ABM, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
465
        List<AuthUser> abmUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_ABM, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
466
        List<AuthUser> bgcUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_BGC, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
466
        List<AuthUser> bgcUsers = csService.getAuthUserIds(ProfitMandiConstants.TICKET_CATEGORY_BGC, Arrays.asList(EscalationType.L1, EscalationType.L2, EscalationType.L3));
467
        authUsers.addAll(salesUsers);
467
        authUsers.addAll(salesUsers);
468
        authUsers.addAll(abmUsers);
468
        authUsers.addAll(abmUsers);
469
        authUsers.addAll(bgcUsers);
469
        authUsers.addAll(bgcUsers);