| Line 2537... |
Line 2537... |
| 2537 |
|
2537 |
|
| 2538 |
Map<Integer, TagListing> tagListingsMap = catalogsList.isEmpty()
|
2538 |
Map<Integer, TagListing> tagListingsMap = catalogsList.isEmpty()
|
| 2539 |
? Collections.emptyMap()
|
2539 |
? Collections.emptyMap()
|
| 2540 |
: tagListingRepository.selectAllByCatalogIds(catalogsList);
|
2540 |
: tagListingRepository.selectAllByCatalogIds(catalogsList);
|
| 2541 |
|
2541 |
|
| - |
|
2542 |
List<CatalogAgingModel> catalogAgingModels = catalogIds.isEmpty()
|
| - |
|
2543 |
? Collections.emptyList()
|
| 2542 |
List<CatalogAgingModel> catalogAgingModels = ageingService.getCatalogsAgingByWarehouse(catalogIds, fofoStore.getWarehouseId());
|
2544 |
: ageingService.getCatalogsAgingByWarehouse(catalogIds, fofoStore.getWarehouseId());
|
| 2543 |
|
2545 |
|
| 2544 |
Map<Integer, CatalogAgingModel> catalogAgingModelMap = catalogAgingModels.stream().collect(Collectors.toMap(x -> x.getCatalogId(), x -> x));
|
2546 |
Map<Integer, CatalogAgingModel> catalogAgingModelMap = catalogAgingModels.stream().collect(Collectors.toMap(x -> x.getCatalogId(), x -> x));
|
| 2545 |
|
2547 |
|
| 2546 |
List<PartnerWarehouseStockAgingSummaryModel> partnerWarehouseStockAgingSummaryModelList = new ArrayList<>();
|
2548 |
List<PartnerWarehouseStockAgingSummaryModel> partnerWarehouseStockAgingSummaryModelList = new ArrayList<>();
|
| 2547 |
|
2549 |
|