| Line 878... |
Line 878... |
| 878 |
pcpmMap.put(startDate.minusDays(i).toLocalDate(), collectionMap);
|
878 |
pcpmMap.put(startDate.minusDays(i).toLocalDate(), collectionMap);
|
| 879 |
}
|
879 |
}
|
| 880 |
|
880 |
|
| 881 |
Map<Integer, PartnerCollectionPlanModel> todayPcpmMap = pcpmMap.get(startDate.toLocalDate());
|
881 |
Map<Integer, PartnerCollectionPlanModel> todayPcpmMap = pcpmMap.get(startDate.toLocalDate());
|
| 882 |
model.addAttribute("todayPcpmMap", todayPcpmMap);
|
882 |
model.addAttribute("todayPcpmMap", todayPcpmMap);
|
| 883 |
|
- |
|
| 884 |
Map<Integer, CustomRetailer> customRetailers = retailerService.getFofoRetailers(fofoIdList);
|
883 |
Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
|
| - |
|
884 |
Map<Integer, CustomRetailer> customRetailers = fofoIdList.stream().map(x -> customRetailerMap.get(x))
|
| - |
|
885 |
.filter(x -> x != null).collect(Collectors.toList()).stream()
|
| - |
|
886 |
.collect(Collectors.toMap(x -> x.getPartnerId(), x -> x));
|
| 885 |
List<Integer> allReportees = authService.getAllReportees(authUser.getId());
|
887 |
List<Integer> allReportees = authService.getAllReportees(authUser.getId());
|
| 886 |
|
888 |
|
| 887 |
List<Integer> salesPositionsAuthIds = positionRepository
|
889 |
List<Integer> salesPositionsAuthIds = positionRepository
|
| 888 |
.selectPositionByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_SALES).stream()
|
890 |
.selectPositionByCategoryId(ProfitMandiConstants.TICKET_CATEGORY_SALES).stream()
|
| 889 |
.map(x -> x.getAuthUserId()).collect(Collectors.toList());
|
891 |
.map(x -> x.getAuthUserId()).collect(Collectors.toList());
|