Subversion Repositories SmartDukaan

Rev

Rev 33873 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33873 Rev 34196
Line 341... Line 341...
341
						if (fdi.getColor().equalsIgnoreCase("any colour")) {
341
						if (fdi.getColor().equalsIgnoreCase("any colour")) {
342
							fdiAnyColour = fdi;
342
							fdiAnyColour = fdi;
343
						}
343
						}
344
						fdi.setTagId(childItem.getInt("tagId_i"));
344
						fdi.setTagId(childItem.getInt("tagId_i"));
345
						fdi.setItem_id(itemId);
345
						fdi.setItem_id(itemId);
-
 
346
						fdi.setCatalog_id(doc.getInt("catalogId_i"));
346
						Float cashBack = schemeService.getCatalogSchemeCashBack(fofoId, Arrays.asList(fofoCatalogResponse.getCatalogId())).get(fofoCatalogResponse.getCatalogId());
347
						Float cashBack = schemeService.getCatalogSchemeCashBack(fofoId, Arrays.asList(fofoCatalogResponse.getCatalogId())).get(fofoCatalogResponse.getCatalogId());
347
						cashBack = cashBack == null ? 0 : cashBack;
348
						cashBack = cashBack == null ? 0 : cashBack;
348
						fdi.setCashback(cashBack);
349
						fdi.setCashback(cashBack);
349
						fdi.setMinBuyQuantity(1);
350
						fdi.setMinBuyQuantity(1);
350
						if (hotDeal) {
351
						if (hotDeal) {