Subversion Repositories SmartDukaan

Rev

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

Rev 9737 Rev 9738
Line 356... Line 356...
356
					}
356
					}
357
					else{
357
					else{
358
						amazonfbasalessnapshot.setOurPrice(amazon_item.getFbaPrice());
358
						amazonfbasalessnapshot.setOurPrice(amazon_item.getFbaPrice());
359
						amazonfbasalessnapshot.setOurPriceSnapshotDate(0);
359
						amazonfbasalessnapshot.setOurPriceSnapshotDate(0);
360
					}
360
					}
-
 
361
					Date date =  new Date(amazonfbasalessnapshot.getDateOfSale());
-
 
362
					SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy"); 
361
					System.out.println(" Item details are " + amazonfbasalessnapshot.getDateOfSale() + " "+ amazonfbasalessnapshot.getItem_id() + " " + amazonfbasalessnapshot.getTotalOrderCount());
363
					System.out.println(" Item details are " + sdf.format(date) + " "+ amazonfbasalessnapshot.getItem_id() + " " + amazonfbasalessnapshot.getTotalOrderCount());
362
					amazonfbasalessnapshot.setAmazonFbaInventory(inventory);
364
					amazonfbasalessnapshot.setAmazonFbaInventory(inventory);
363
					transactionClient.addOrUpdateAmazonFbaSalesSnapshot(amazonfbasalessnapshot);
365
					transactionClient.addOrUpdateAmazonFbaSalesSnapshot(amazonfbasalessnapshot);
364
				}
366
				}
365
			}
367
			}
366
		} catch (IOException e) {
368
		} catch (IOException e) {