|
|
|
@@ -974,7 +974,7 @@ return RecordsRes(paginatedResult, filteredResults.size) |
|
|
|
val warehouseIds = warehouses.mapNotNull { it.id } |
|
|
|
|
|
|
|
// 2. 获取该 section 下的所有 inventory lot lines |
|
|
|
val inventoryLotLines = inventoryLotLineRepository.findAllByWarehouseIdInAndDeletedIsFalse(warehouseIds) |
|
|
|
val inventoryLotLines = inventoryLotLineRepository.findAllByWarehouseIdInAndDeletedIsFalseAndStatusIsAvailable(warehouseIds) |
|
|
|
|
|
|
|
// 3. 获取该 stock take 下该 section 的所有记录 |
|
|
|
val stockTakeRecords = stockTakeRecordRepository.findAll() |
|
|
|
|