| Line 101... |
Line 101... |
| 101 |
curDate.withDayOfMonth(1).minusMonths(1), curDate.withDayOfMonth(1));
|
101 |
curDate.withDayOfMonth(1).minusMonths(1), curDate.withDayOfMonth(1));
|
| 102 |
|
102 |
|
| 103 |
LOGGER.info("secondarylmtd" + secondarylmtd);
|
103 |
LOGGER.info("secondarylmtd" + secondarylmtd);
|
| 104 |
LOGGER.info("secondarylms" + secondarylms);
|
104 |
LOGGER.info("secondarylms" + secondarylms);
|
| 105 |
List<FofoStore> fofoStores = fofoStoreRepository.selectActiveStores();
|
105 |
List<FofoStore> fofoStores = fofoStoreRepository.selectActiveStores();
|
| 106 |
Set<Integer> fofoIds = fofoStores.stream().filter(x->x.isInternal()).map(x -> x.getId()).collect(Collectors.toSet());
|
106 |
Set<Integer> fofoIds = fofoStores.stream().filter(x->!x.isInternal()).map(x -> x.getId()).collect(Collectors.toSet());
|
| 107 |
Map<Integer, UserWallet> userWallet = userWalletRepository.selectByRetailerIds(fofoIds).stream()
|
107 |
Map<Integer, UserWallet> userWallet = userWalletRepository.selectByRetailerIds(fofoIds).stream()
|
| 108 |
.collect(Collectors.toMap(x -> x.getUserId(), x -> x));
|
108 |
.collect(Collectors.toMap(x -> x.getUserId(), x -> x));
|
| 109 |
|
109 |
|
| 110 |
Map<Integer, PartnerDetailModel> allPartnerStats = new HashMap<>();
|
110 |
Map<Integer, PartnerDetailModel> allPartnerStats = new HashMap<>();
|
| 111 |
|
111 |
|