Subversion Repositories SmartDukaan

Rev

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

Rev 25553 Rev 25558
Line 1536... Line 1536...
1536
	public void grouping() throws Exception {
1536
	public void grouping() throws Exception {
1537
		for (FofoStore fofoStore : fofoStoreRepository.selectAll()) {
1537
		for (FofoStore fofoStore : fofoStoreRepository.selectAll()) {
1538
			/*LOGGER.info("{}, {}", fofoStore.getId(),
1538
			/*LOGGER.info("{}, {}", fofoStore.getId(),
1539
					partnerTypeChangeService.getTypeOnDate(fofoStore.getId(), LocalDate.now().plusDays(1)));*/
1539
					partnerTypeChangeService.getTypeOnDate(fofoStore.getId(), LocalDate.now().plusDays(1)));*/
1540
				UserWallet userWallet = userWalletRepository.selectById(fofoStore.getId());
1540
				UserWallet userWallet = userWalletRepository.selectById(fofoStore.getId());
-
 
1541
				if(userWallet==null) continue;
1541
				System.out.printf("Store Code %s, Wallet amount %d, Sum amount %f%n", fofoStore.getCode(), userWallet.getAmount(), walletService.getWalletAmount(fofoStore.getId()));
1542
				System.out.printf("Store Code %s, Wallet amount %d, Sum amount %f%n", fofoStore.getCode(), userWallet.getAmount(), walletService.getWalletAmount(fofoStore.getId()));
1542
		}
1543
		}
1543
	}
1544
	}
1544
}
1545
}