Subversion Repositories SmartDukaan

Rev

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

Rev 30723 Rev 30753
Line 128... Line 128...
128
		List<Integer> fofoIds = fofoStoreRepository.selectActiveStores().stream().map(x -> x.getId())
128
		List<Integer> fofoIds = fofoStoreRepository.selectActiveStores().stream().map(x -> x.getId())
129
				.collect(Collectors.toList());
129
				.collect(Collectors.toList());
130
 
130
 
131
		Set<String> brands = mongoClient.getMongoBrands(loginDetails.getFofoId(), null, 3).stream()
131
		Set<String> brands = mongoClient.getMongoBrands(loginDetails.getFofoId(), null, 3).stream()
132
				.map(x -> (String) x.get("name")).collect(Collectors.toSet());
132
				.map(x -> (String) x.get("name")).collect(Collectors.toSet());
-
 
133
		brands.addAll(itemRepository.selectAllBrands(ProfitMandiConstants.LED_CATEGORY_ID));
133
 
134
 
134
		Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
135
		Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
135
 
136
 
136
		Map<Integer, CustomRetailer> customRetailersMap = fofoIds.stream().map(x -> customRetailerMap.get(x))
137
		Map<Integer, CustomRetailer> customRetailersMap = fofoIds.stream().map(x -> customRetailerMap.get(x))
137
				.filter(x -> x != null).collect(Collectors.toList()).stream()
138
				.filter(x -> x != null).collect(Collectors.toList()).stream()