| Line 627... |
Line 627... |
| 627 |
AuthUser authUser = authRepository.selectByEmailOrMobile(email);
|
627 |
AuthUser authUser = authRepository.selectByEmailOrMobile(email);
|
| 628 |
List<Position> positions = positionRepository.selectAll(authUser.getId());
|
628 |
List<Position> positions = positionRepository.selectAll(authUser.getId());
|
| 629 |
Map<Integer, AuthUser> authIdAndAuthUserMap = null;
|
629 |
Map<Integer, AuthUser> authIdAndAuthUserMap = null;
|
| 630 |
Map<Integer, PartnerDetailModel> authIdAndallValues = null;
|
630 |
Map<Integer, PartnerDetailModel> authIdAndallValues = null;
|
| 631 |
if (positions.size() > 0) {
|
631 |
if (positions.size() > 0) {
|
| 632 |
if (positions.stream().filter(x -> x.getEscalationType().equals(EscalationType.L3)).count() > 0) {
|
632 |
if (positions.stream().filter(x -> x.getEscalationType().equals(EscalationType.L3)
|
| - |
|
633 |
|| x.getEscalationType().equals(EscalationType.L4)
|
| - |
|
634 |
|| x.getEscalationType().equals(EscalationType.L5)).count() > 0) {
|
| 633 |
|
635 |
|
| 634 |
authIdAndAuthUserMap = authRepository.selectAllActiveUser().stream()
|
636 |
authIdAndAuthUserMap = authRepository.selectAllActiveUser().stream()
|
| 635 |
.collect(Collectors.toMap(x -> x.getId(), x -> x));
|
637 |
.collect(Collectors.toMap(x -> x.getId(), x -> x));
|
| 636 |
|
638 |
|
| 637 |
AuthUser unmappedAuthUser = new AuthUser();
|
639 |
AuthUser unmappedAuthUser = new AuthUser();
|