Subversion Repositories SmartDukaan

Rev

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

Rev 31549 Rev 31550
Line 279... Line 279...
279
		UserInfo userInfo = (UserInfo) request.getAttribute("userInfo");
279
		UserInfo userInfo = (UserInfo) request.getAttribute("userInfo");
280
		FofoStore fs = fofoStoreRepository.selectByRetailerId(userInfo.getRetailerId());
280
		FofoStore fs = fofoStoreRepository.selectByRetailerId(userInfo.getRetailerId());
281
		sort = "w" + fs.getWarehouseId() + "_i desc";
281
		sort = "w" + fs.getWarehouseId() + "_i desc";
282
 
282
 
283
		logger.info("endPoint {}", endPoint);
283
		logger.info("endPoint {}", endPoint);
284
		if (StringUtils.isEmpty(endPoint)) {
284
		if (endPoint == null && endPoint.isEmpty()) {
285
			dealResponse = this.getCatalogResponse(
285
			dealResponse = this.getCatalogResponse(
286
					solrService.getSolrDocs(queryTerm, categoryId, offset, limit, sort, brand, subCategoryId, hotDeal),
286
					solrService.getSolrDocs(queryTerm, categoryId, offset, limit, sort, brand, subCategoryId, hotDeal),
287
					hotDeal, userInfo.getRetailerId());
287
					hotDeal, userInfo.getRetailerId());
288
		} else {
288
		} else {
289
 
289