From a0dd5a53c1c40c121b21863972a588602d8fea2e Mon Sep 17 00:00:00 2001 From: "CANCERYS\\kw093" Date: Mon, 27 Apr 2026 11:48:31 +0800 Subject: [PATCH] update workbenchprintlabel to show QRcode --- .../ffii/fpsms/modules/stock/service/InventoryLotLineService.kt | 2 ++ .../java/com/ffii/fpsms/modules/stock/web/model/LotLineInfo.kt | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt b/src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt index 5515b69..718e95d 100644 --- a/src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt +++ b/src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt @@ -454,6 +454,7 @@ open fun updateInventoryLotLineQuantities(request: UpdateInventoryLotLineQuantit SameItemLotInfo( lotNo = lotNo, inventoryLotLineId = lotLine.id ?: return@mapNotNull null, + stockInLineId = lot.stockInLine?.id, availableQty = remainingQty, uom = uomDesc, warehouseCode = lotLine.warehouse?.code, @@ -504,6 +505,7 @@ open fun updateInventoryLotLineQuantities(request: UpdateInventoryLotLineQuantit SameItemLotInfo( lotNo = lotNo, inventoryLotLineId = lotLine.id!!, + stockInLineId = lot.stockInLine?.id, availableQty = remainingQty, uom = uomDesc, warehouseCode = whCode, diff --git a/src/main/java/com/ffii/fpsms/modules/stock/web/model/LotLineInfo.kt b/src/main/java/com/ffii/fpsms/modules/stock/web/model/LotLineInfo.kt index b54b240..0d5d450 100644 --- a/src/main/java/com/ffii/fpsms/modules/stock/web/model/LotLineInfo.kt +++ b/src/main/java/com/ffii/fpsms/modules/stock/web/model/LotLineInfo.kt @@ -31,6 +31,7 @@ data class ScannedLotInfo( data class SameItemLotInfo( val lotNo: String, val inventoryLotLineId: Long, + val stockInLineId: Long? = null, val availableQty: BigDecimal, val uom: String, val warehouseCode: String? = null,