Subversion Repositories SmartDukaan

Rev

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

Rev 9811 Rev 9812
Line 667... Line 667...
667
				e.printStackTrace();
667
				e.printStackTrace();
668
				continue;
668
				continue;
669
			}
669
			}
670
			HSSFRow row = sheet.createRow((short)iterator);
670
			HSSFRow row = sheet.createRow((short)iterator);
671
			row.createCell((short) 0).setCellValue(snapdealItem.getItem_id());
671
			row.createCell((short) 0).setCellValue(snapdealItem.getItem_id());
672
			row.createCell((short) 1).setCellValue();
672
			row.createCell((short) 1).setCellValue(getVaildName(item.getBrand())+" "+getVaildName(item.getModelName())+" "+getVaildName(item.getModelNumber())+" "+getVaildName(item.getColor()));
673
			row.createCell((short) 2).setCellValue(snapdealItem.getWarehouseId());
673
			row.createCell((short) 2).setCellValue(snapdealItem.getWarehouseId());
674
			row.createCell((short) 3).setCellValue(roundTwoDecimals(snapdealItem.getExceptionPrice()));
674
			row.createCell((short) 3).setCellValue(roundTwoDecimals(snapdealItem.getExceptionPrice()));
675
			if(snapdealItem.isIsListedOnSnapdeal()){
675
			if(snapdealItem.isIsListedOnSnapdeal()){
676
				row.createCell((short) 4).setCellValue(1);
676
				row.createCell((short) 4).setCellValue(1);
677
			}
677
			}
Line 1286... Line 1286...
1286
	}
1286
	}
1287
 
1287
 
1288
	public double getRoundOfValue(String val){
1288
	public double getRoundOfValue(String val){
1289
		return roundTwoDecimals(Double.valueOf(val));
1289
		return roundTwoDecimals(Double.valueOf(val));
1290
	}
1290
	}
-
 
1291
	
-
 
1292
	public String getVaildName(String name){
-
 
1293
		return name!=null?name:"";
-
 
1294
	}
1291
 
1295
 
1292
 
1296
 
1293
 
1297
 
1294
}
1298
}
1295
1299