Subversion Repositories SmartDukaan

Rev

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

Rev 29229 Rev 29296
Line 775... Line 775...
775
		List<AuthUser> authUsers = authRepository.selectAllAuthUserByIds(authIds);
775
		List<AuthUser> authUsers = authRepository.selectAllAuthUserByIds(authIds);
776
 
776
 
777
		LOGGER.info("authUsers" + authUsers);
777
		LOGGER.info("authUsers" + authUsers);
778
		return authUsers;
778
		return authUsers;
779
	}
779
	}
-
 
780
	
-
 
781
	@Override
-
 
782
	public List<AuthUser> getAuthUserBycateggoryId(int categoryId, EscalationType escalationType) {
-
 
783
 
-
 
784
		List<Position> positions = positionRepository.selectPositionbyCategoryIdAndEscalationType(categoryId,
-
 
785
				escalationType);
-
 
786
		List<Integer> authIds = positions.stream().map(x -> x.getAuthUserId()).distinct().collect(Collectors.toList());
-
 
787
 
-
 
788
		LOGGER.info("authIds" + authIds);
-
 
789
 
-
 
790
		List<AuthUser> authUsers = authRepository.selectAllAuthUserByIds(authIds);
-
 
791
 
-
 
792
		LOGGER.info("authUsers" + authUsers);
-
 
793
		return authUsers;
-
 
794
	}
-
 
795
 
780
 
796
 
781
	@Override
797
	@Override
782
	public List<AuthUser> getAuthUserByCategoryId(int categoryId) {
798
	public List<AuthUser> getAuthUserByCategoryId(int categoryId) {
783
		List<Position> positions = positionRepository.selectPositionByCategoryId(categoryId);
799
		List<Position> positions = positionRepository.selectPositionByCategoryId(categoryId);
784
		List<Integer> authIds = positions.stream().map(x -> x.getAuthUserId()).distinct().collect(Collectors.toList());
800
		List<Integer> authIds = positions.stream().map(x -> x.getAuthUserId()).distinct().collect(Collectors.toList());