Subversion Repositories SmartDukaan

Rev

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

Rev 25053 Rev 25056
Line 514... Line 514...
514
		System.out.println("Amount\tReference\tReferenceType\tTimestamp\tDescription");
514
		System.out.println("Amount\tReference\tReferenceType\tTimestamp\tDescription");
515
		for(UserWalletHistory uwh : uwhs) {
515
		for(UserWalletHistory uwh : uwhs) {
516
			System.out.println(String.format("%d\t%d\t%s\t%s\t%s", uwh.getAmount(), uwh.getReference(), uwh.getReferenceType(), uwh.getTimestamp().toString(), uwh.getDescription()));
516
			System.out.println(String.format("%d\t%d\t%s\t%s\t%s", uwh.getAmount(), uwh.getReference(), uwh.getReferenceType(), uwh.getTimestamp().toString(), uwh.getDescription()));
517
		}
517
		}
518
		LOGGER.info("Schemes process successfully.");
518
		LOGGER.info("Schemes process successfully.");
519
		throw new Exception();
519
		//throw new Exception();
520
	}
520
	}
521
 
521
 
522
	public void processRechargeCashback() throws Throwable {
522
	public void processRechargeCashback() throws Throwable {
523
		LocalDateTime cashbackTime = LocalDateTime.now();
523
		LocalDateTime cashbackTime = LocalDateTime.now();
524
		int referenceId = (int) Timestamp.valueOf(cashbackTime).getTime() / 1000;
524
		int referenceId = (int) Timestamp.valueOf(cashbackTime).getTime() / 1000;