| Line 654... |
Line 654... |
| 654 |
if (!partnerDailyInvestments.isEmpty()) {
|
654 |
if (!partnerDailyInvestments.isEmpty()) {
|
| 655 |
partnerDailyInvestmentMap = partnerDailyInvestments.stream()
|
655 |
partnerDailyInvestmentMap = partnerDailyInvestments.stream()
|
| 656 |
.collect(Collectors.toMap(x -> x.getFofoId(), x -> x));
|
656 |
.collect(Collectors.toMap(x -> x.getFofoId(), x -> x));
|
| 657 |
}
|
657 |
}
|
| 658 |
|
658 |
|
| 659 |
Map<Integer, CustomRetailer> customRetailers = retailerService.getFofoRetailers(fofoIdList);
|
659 |
Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
|
| - |
|
660 |
|
| - |
|
661 |
Map<Integer, CustomRetailer> customRetailers = fofoIdList.stream().map(x -> customRetailerMap.get(x))
|
| - |
|
662 |
.filter(x -> x != null).collect(Collectors.toList()).stream()
|
| - |
|
663 |
.collect(Collectors.toMap(x -> x.getPartnerId(), x -> x));
|
| 660 |
|
664 |
|
| 661 |
/*
|
665 |
/*
|
| 662 |
* Map<Integer, PartnerCollectionPlanModel> collectionPlans =
|
666 |
* Map<Integer, PartnerCollectionPlanModel> collectionPlans =
|
| 663 |
* userWalletRepository .getPartnerWiseTargetCollections(fofoIdList,
|
667 |
* userWalletRepository .getPartnerWiseTargetCollections(fofoIdList,
|
| 664 |
* startDate).stream() .collect(Collectors.toMap(x -> x.getFofoId(), x -> x));
|
668 |
* startDate).stream() .collect(Collectors.toMap(x -> x.getFofoId(), x -> x));
|