| Line 725... |
Line 725... |
| 725 |
.collect(Collectors.toList());
|
725 |
.collect(Collectors.toList());
|
| 726 |
fofoCatalogResponse.setItems(availabilityList);
|
726 |
fofoCatalogResponse.setItems(availabilityList);
|
| 727 |
if (priceCircularItemModelMap.containsKey(fofoCatalogResponse.getCatalogId())) {
|
727 |
if (priceCircularItemModelMap.containsKey(fofoCatalogResponse.getCatalogId())) {
|
| 728 |
PriceCircularItemModel priceCircularItemModel = priceCircularItemModelMap.get(fofoCatalogResponse.getCatalogId());
|
728 |
PriceCircularItemModel priceCircularItemModel = priceCircularItemModelMap.get(fofoCatalogResponse.getCatalogId());
|
| 729 |
List<CreateOfferRequest> schemeOffers = new ArrayList<>();
|
729 |
List<CreateOfferRequest> schemeOffers = new ArrayList<>();
|
| 730 |
for (int j = 0; j < priceCircularItemModel.getSlabPayouts().size(); j++) {
|
730 |
/*for (int j = 0; j < priceCircularItemModel.getSlabPayouts().size(); j++) {
|
| 731 |
if (priceCircularItemModel.getSlabPayouts().get(i) != null) {
|
731 |
if(priceCircularItemModel.getSlabPayouts().get(i) != null) {
|
| 732 |
schemeOffers.add(allSchemOffers.get(i));
|
732 |
schemeOffers.add(allSchemOffers.get(i));
|
| 733 |
}
|
733 |
}
|
| 734 |
}
|
734 |
}*/
|
| 735 |
fofoCatalogResponse.setSchemeOffers(schemeOffers);
|
735 |
fofoCatalogResponse.setSchemeOffers(schemeOffers);
|
| 736 |
fofoCatalogResponse.setPriceCircularItemModel(priceCircularItemModel);
|
736 |
fofoCatalogResponse.setPriceCircularItemModel(priceCircularItemModel);
|
| 737 |
|
737 |
|
| 738 |
}
|
738 |
}
|
| 739 |
dealResponse.add(fofoCatalogResponse);
|
739 |
dealResponse.add(fofoCatalogResponse);
|