Subversion Repositories SmartDukaan

Rev

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

Rev 31152 Rev 31153
Line 963... Line 963...
963
	}
963
	}
964
 
964
 
965
	@Override
965
	@Override
966
	public Set<Integer> getAuthFofoIds(String email) throws ProfitMandiBusinessException {
966
	public Set<Integer> getAuthFofoIds(String email) throws ProfitMandiBusinessException {
967
 
967
 
968
		List<Integer> categoryIds = ticketCategoryRepository.selectAll().stream().map(x -> x.getId())
968
		List<Integer> categoryIds = Arrays.asList(ProfitMandiConstants.TICKET_CATEGORY_LOGISTICS,
-
 
969
				ProfitMandiConstants.TICKET_CATEGORY_FINANCIAL_SERVICES, ProfitMandiConstants.TICKET_CATEGORY_CATEGORY,
-
 
970
				ProfitMandiConstants.TICKET_CATEGORY_RBM, ProfitMandiConstants.TICKET_CATEGORY_SALES,
-
 
971
				ProfitMandiConstants.TICKET_CATEGORY_MARKETING, ProfitMandiConstants.TICKET_CATEGORY_ACCOUNTS,
-
 
972
				ProfitMandiConstants.TICKET_CATEGORY_BUSINESSINTELLIGENT,
969
				.collect(Collectors.toList());
973
				ProfitMandiConstants.TICKET_CATEGORY_TECHNOLOGY);
-
 
974
 
970
		Map<String, Set<Integer>> storeGuyMap = this.getAuthUserPartnerIdMappingByCategoryIds(categoryIds);
975
		Map<String, Set<Integer>> storeGuyMap = this.getAuthUserPartnerIdMappingByCategoryIds(categoryIds);
971
		Set<Integer> authfofoIds = storeGuyMap.get(email);
976
		Set<Integer> authfofoIds = storeGuyMap.get(email);
972
 
977
 
973
		AuthUser authUser = authRepository.selectByEmailOrMobile(email);
978
		AuthUser authUser = authRepository.selectByEmailOrMobile(email);
974
		if (authfofoIds == null) {
979
		if (authfofoIds == null) {