Subversion Repositories SmartDukaan

Rev

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

Rev 34921 Rev 35058
Line 985... Line 985...
985
 
985
 
986
        List<Position> positions = positionRepository.selectPositionbyCategoryIdAndEscalationTypes(categoryId, escalationType);
986
        List<Position> positions = positionRepository.selectPositionbyCategoryIdAndEscalationTypes(categoryId, escalationType);
987
        List<Integer> authIds = positions.stream().map(x -> x.getAuthUserId()).distinct().collect(Collectors.toList());
987
        List<Integer> authIds = positions.stream().map(x -> x.getAuthUserId()).distinct().collect(Collectors.toList());
988
 
988
 
989
        //LOGGER.info("authIds" + authIds);
989
        //LOGGER.info("authIds" + authIds);
990
 
-
 
-
 
990
        List<AuthUser> authUsers = null;
-
 
991
        if (authIds.size() > 0) {
991
        List<AuthUser> authUsers = authRepository.selectAllAuthUserByIds(authIds);
992
            authUsers = authRepository.selectAllAuthUserByIds(authIds);
-
 
993
        } else {
-
 
994
            authUsers = new ArrayList<>();
-
 
995
        }
992
 
996
 
993
        LOGGER.info("authUsers" + authUsers);
997
        LOGGER.info("authUsers" + authUsers);
994
        return authUsers;
998
        return authUsers;
995
    }
999
    }
996
 
1000