Subversion Repositories SmartDukaan

Rev

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

Rev 19249 Rev 19252
Line 380... Line 380...
380
				if (checkEmptyString(sheet.getRow(iterator).getCell(5))){
380
				if (checkEmptyString(sheet.getRow(iterator).getCell(5))){
381
					i.setWeight(itemMap.get(item_id).getWeight());
381
					i.setWeight(itemMap.get(item_id).getWeight());
382
				}
382
				}
383
				else{
383
				else{
384
					double weight = (double) sheet.getRow(iterator).getCell(5).getNumericCellValue();
384
					double weight = (double) sheet.getRow(iterator).getCell(5).getNumericCellValue();
385
					i.setPrivate_deal_price(weight);
385
					i.setWeight(weight);
386
				}
386
				}
387
			itemPricingList.add(i);
387
			itemPricingList.add(i);
388
			}
388
			}
389
		}
389
		}
390
		boolean res = cc.updateItemPricing(itemPricingList);
390
		boolean res = cc.updateItemPricing(itemPricingList);