Subversion Repositories SmartDukaan

Rev

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

Rev 25173 Rev 25174
Line 181... Line 181...
181
			if (brandStockPricesMap.containsKey(brand)) {
181
			if (brandStockPricesMap.containsKey(brand)) {
182
				BrandStockPrice brandStockPrice = brandStockPricesMap.get(brand);
182
				BrandStockPrice brandStockPrice = brandStockPricesMap.get(brand);
183
				brandStockPrice.setBrandUrl((String) x.get("url"));
183
				brandStockPrice.setBrandUrl((String) x.get("url"));
184
				brandStockPrice.setRank(((Double) x.get("rank")).intValue());
184
				brandStockPrice.setRank(((Double) x.get("rank")).intValue());
185
				brandStockPrices.add(brandStockPrice);
185
				brandStockPrices.add(brandStockPrice);
186
			} else {
-
 
187
			}
186
			}
188
		});
187
		});
189
 
188
 
190
		return brandStockPrices.stream().filter(x->x.getTotalQty()>0).sorted((x, y) -> x.getRank() - y.getRank()).collect(Collectors.toList());
189
		return brandStockPrices.stream().filter(x->x.getTotalQty()>0).sorted((x, y) -> x.getRank() - y.getRank()).collect(Collectors.toList());
191
	}
190
	}