Subversion Repositories SmartDukaan

Rev

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

Rev 21864 Rev 22610
Line 946... Line 946...
946
 
946
 
947
			List<in.shop2020.model.v1.catalog.Item> thriftItems = catalogClient.getItemsForMasterSheet(category, brand);
947
			List<in.shop2020.model.v1.catalog.Item> thriftItems = catalogClient.getItemsForMasterSheet(category, brand);
948
 
948
 
949
			for(in.shop2020.model.v1.catalog.Item thriftItem : thriftItems) {
949
			for(in.shop2020.model.v1.catalog.Item thriftItem : thriftItems) {
950
				List<in.shop2020.model.v1.inventory.VendorItemPricing> vip = inventoryClient.getAllItemPricing(thriftItem.getId());
950
				List<in.shop2020.model.v1.inventory.VendorItemPricing> vip = inventoryClient.getAllItemPricing(thriftItem.getId());
951
				List<in.shop2020.model.v1.inventory.VendorItemMapping> vim = inventoryClient.getVendorItemMappings(thriftItem.getId());
951
				/*List<in.shop2020.model.v1.inventory.VendorItemMapping> vim = inventoryClient.getVendorItemMappings(thriftItem.getId());
952
				List<in.shop2020.model.v1.catalog.SourceItemPricing> sip = catalogClient.getAllSourcePricing(thriftItem.getId());
952
				List<in.shop2020.model.v1.catalog.SourceItemPricing> sip = catalogClient.getAllSourcePricing(thriftItem.getId());*/
953
				Item item = getItemFromThriftItem(thriftItem, vip, vim, sip, null, null, null, null, null, null);
953
				Item item = getItemFromThriftItem(thriftItem, vip, null, null, null, null, null, null, null, null);
954
				item.setDealPrice(thriftItem.getDealPrice());
954
				item.setDealPrice(thriftItem.getDealPrice());
955
				itemList.add(item);
955
				itemList.add(item);
956
			}
956
			}
957
		} catch (Exception e) {
957
		} catch (Exception e) {
958
			logger.error("Error while getting items by category: " + category, e);
958
			logger.error("Error while getting items by category: " + category, e);