Subversion Repositories SmartDukaan

Rev

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

Rev 25520 Rev 25553
Line 1531... Line 1531...
1531
		storeManagerMap.put("cachaitnya@gmail.com", Arrays.asList("", "", "Adeel"));
1531
		storeManagerMap.put("cachaitnya@gmail.com", Arrays.asList("", "", "Adeel"));
1532
		storeManagerMap.put("KHURANAMOBILE753@GMAIL.COM", Arrays.asList("Sohan", "Ankit", "Mohinder"));
1532
		storeManagerMap.put("KHURANAMOBILE753@GMAIL.COM", Arrays.asList("Sohan", "Ankit", "Mohinder"));
1533
 
1533
 
1534
	}
1534
	}
1535
 
1535
 
1536
	public void grouping() {
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());
-
 
1541
				System.out.printf("Store Code %s, Wallet amount %d, Sum amount %f%n", fofoStore.getCode(), userWallet.getAmount(), walletService.getWalletAmount(fofoStore.getId()));
1540
		}
1542
		}
1541
	}
1543
	}
1542
}
1544
}