| 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 |
}
|