Subversion Repositories SmartDukaan

Rev

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

Rev 25043 Rev 25045
Line 510... Line 510...
510
			throw e;
510
			throw e;
511
		}
511
		}
512
		List<UserWalletHistory> uwhs =userWalletHistoryRepository.selectAllByDateType(startDate, endDate, Arrays.asList(WalletReferenceType.SCHEME_IN, WalletReferenceType.SCHEME_OUT));
512
		List<UserWalletHistory> uwhs =userWalletHistoryRepository.selectAllByDateType(startDate, endDate, Arrays.asList(WalletReferenceType.SCHEME_IN, WalletReferenceType.SCHEME_OUT));
513
		System.out.println("Amount\tReference\tReferenceType\tTimestamp\tDescription");
513
		System.out.println("Amount\tReference\tReferenceType\tTimestamp\tDescription");
514
		for(UserWalletHistory uwh : uwhs) {
514
		for(UserWalletHistory uwh : uwhs) {
515
			System.out.println(String.format("%d\t%d\t%s\t%d\t%s", uwh.getAmount(), uwh.getReference(), uwh.getReferenceType(), uwh.getTimestamp().toString(), uwh.getDescription()));
515
			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
		}
516
		}
517
		LOGGER.info("Schemes process successfully.");
517
		LOGGER.info("Schemes process successfully.");
518
		throw new Exception();
518
		throw new Exception();
519
	}
519
	}
520
 
520