| Line 271... |
Line 271... |
| 271 |
List<Integer> fofoIds = this.getFofoIdsFromWalletRequest(walletRequest);
|
271 |
List<Integer> fofoIds = this.getFofoIdsFromWalletRequest(walletRequest);
|
| 272 |
|
272 |
|
| 273 |
Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
|
273 |
Map<Integer, CustomRetailer> customRetailerMap = retailerService.getAllFofoRetailers();
|
| 274 |
|
274 |
|
| 275 |
Map<Integer, CustomRetailer> fofoIdsAndRetailerName = fofoIds.stream().map(x -> customRetailerMap.get(x))
|
275 |
Map<Integer, CustomRetailer> fofoIdsAndRetailerName = fofoIds.stream().map(x -> customRetailerMap.get(x))
|
| 276 |
.filter(x -> x != null).collect(Collectors.toList()).stream()
|
- |
|
| 277 |
.collect(Collectors.toMap(x -> x.getPartnerId(), x -> x));
|
276 |
.filter(x -> x != null).collect(Collectors.toMap(x -> x.getPartnerId(), x -> x));
|
| 278 |
|
277 |
|
| 279 |
model.addAttribute("fofoIdsAndRetailerName", fofoIdsAndRetailerName);
|
278 |
model.addAttribute("fofoIdsAndRetailerName", fofoIdsAndRetailerName);
|
| 280 |
model.addAttribute("walletRequest", walletRequest);
|
279 |
model.addAttribute("walletRequest", walletRequest);
|
| 281 |
model.addAttribute("rStatus", "pending");
|
280 |
model.addAttribute("rStatus", "pending");
|
| 282 |
model.addAttribute("start", offset + 1);
|
281 |
model.addAttribute("start", offset + 1);
|