From 51920825cec561e478f96fe715bd1f82baa8f75a Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Tue, 20 Jan 2026 16:04:47 +0800 Subject: [PATCH] update --- .../modules/stock/service/SuggestedPickLotService.kt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt b/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt index f33649b..b2b4ebe 100644 --- a/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt +++ b/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt @@ -99,8 +99,10 @@ open class SuggestedPickLotService( val suggestedList: MutableList = mutableListOf() val holdQtyMap: MutableMap = request.holdQtyMap - val excludedWarehouseCodes = listOf("2F-W202-01-00") - + val excludedWarehouseCodes = setOf( + "2F-W202-01-00", + // "4F-W401-#C-00", + ) val availableInventoryLotLines = inventoryLotLineService .allInventoryLotLinesByItemIdIn(itemIds) .filter { it.status == InventoryLotLineStatus.AVAILABLE.value } @@ -245,7 +247,10 @@ open class SuggestedPickLotService( val suggestedList: MutableList = mutableListOf() val holdQtyMap: MutableMap = request.holdQtyMap - + val excludedWarehouseCodes = setOf( + "2F-W202-01-00", + // "4F-W401-#C-00", + ) // get current inventory lot line qty & grouped by item id val availableInventoryLotLines = inventoryLotLineService .allInventoryLotLinesByItemIdIn(itemIds)