Browse Source

update

master
CANCERYS\kw093 7 hours ago
parent
commit
518ec945bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/java/com/ffii/fpsms/modules/stock/service/StockTakeRecordService.kt

+ 1
- 1
src/main/java/com/ffii/fpsms/modules/stock/service/StockTakeRecordService.kt View File

@@ -974,7 +974,7 @@ return RecordsRes(paginatedResult, filteredResults.size)
val warehouseIds = warehouses.mapNotNull { it.id } val warehouseIds = warehouses.mapNotNull { it.id }


// 2. 获取该 section 下的所有 inventory lot lines // 2. 获取该 section 下的所有 inventory lot lines
val inventoryLotLines = inventoryLotLineRepository.findAllByWarehouseIdInAndDeletedIsFalse(warehouseIds)
val inventoryLotLines = inventoryLotLineRepository.findAllByWarehouseIdInAndDeletedIsFalseAndStatusIsAvailable(warehouseIds)


// 3. 获取该 stock take 下该 section 的所有记录 // 3. 获取该 stock take 下该 section 的所有记录
val stockTakeRecords = stockTakeRecordRepository.findAll() val stockTakeRecords = stockTakeRecordRepository.findAll()


Loading…
Cancel
Save