Subversion Repositories SmartDukaan

Rev

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

Rev 35242 Rev 35394
Line 144... Line 144...
144
                "tarun.verma@smartdukaan.com"
144
                "tarun.verma@smartdukaan.com"
145
        ));
145
        ));
146
 
146
 
147
//         niranjan kala(authId -54) Team Emails,
147
//         niranjan kala(authId -54) Team Emails,
148
        List<Integer> allReportees = authService.getAllReportees(54);
148
        List<Integer> allReportees = authService.getAllReportees(54);
149
        List<AuthUser> authUsers = authRepository.selectAllAuthUserByIds(allReportees);
149
        List<AuthUser> authUsers = authRepository.selectByIds(allReportees);
150
        List<String> categotyTeamEmails = authUsers.stream().map(x -> x.getEmailId()).collect(Collectors.toList());
150
        List<String> categotyTeamEmails = authUsers.stream().map(x -> x.getEmailId()).collect(Collectors.toList());
151
 
151
 
152
        allEmails.addAll(categotyTeamEmails);
152
        allEmails.addAll(categotyTeamEmails);
153
        String[] emailTo = allEmails.toArray(new String[allEmails.size()]);
153
        String[] emailTo = allEmails.toArray(new String[allEmails.size()]);
154
        helper.setSubject(subject);
154
        helper.setSubject(subject);