Browse Source

stock take section description col + stock trf translation

reset-do-picking-order
kelvin.yau 1 week ago
parent
commit
203d2832e2
3 changed files with 9 additions and 1 deletions
  1. +3
    -0
      src/main/java/com/ffii/fpsms/modules/master/entity/Warehouse.kt
  2. +1
    -1
      src/main/java/com/ffii/fpsms/modules/stock/service/InventoryLotLineService.kt
  3. +5
    -0
      src/main/resources/db/changelog/changes/20260313_01_KelvinY/20260313_01_KelvinY/01_add_stockTakeSectionDescription_to_warehouse.sql

+ 3
- 0
src/main/java/com/ffii/fpsms/modules/master/entity/Warehouse.kt View File

@@ -44,4 +44,7 @@ open class Warehouse : BaseEntity<Long>() {


@Column(name = "stockTakeSection", nullable = true, length = 255) @Column(name = "stockTakeSection", nullable = true, length = 255)
open var stockTakeSection: String? = null open var stockTakeSection: String? = null
@Column(name = "stockTakeSectionDescription", nullable = true, length = 255)
open var stockTakeSectionDescription: String? = null
} }

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

@@ -295,7 +295,7 @@ open class InventoryLotLineService(
val pdf = if (stockInLine?.stockTransferRecord != null) { val pdf = if (stockInLine?.stockTransferRecord != null) {
val targetLocation = stockInLine.stockTransferRecord?.targetLocation ?: "" val targetLocation = stockInLine.stockTransferRecord?.targetLocation ?: ""
exportStockInLineQrcode( exportStockInLineQrcode(
LotLineToQrcode(inventoryLotLineId = request.inventoryLotLineId, isTransfer = "轉倉至 $targetLocation")
LotLineToQrcode(inventoryLotLineId = request.inventoryLotLineId, isTransfer = "轉倉至 $targetLocation")
) )
} else { } else {
exportStockInLineQrcode(LotLineToQrcode(inventoryLotLineId = request.inventoryLotLineId)) exportStockInLineQrcode(LotLineToQrcode(inventoryLotLineId = request.inventoryLotLineId))


+ 5
- 0
src/main/resources/db/changelog/changes/20260313_01_KelvinY/20260313_01_KelvinY/01_add_stockTakeSectionDescription_to_warehouse.sql View File

@@ -0,0 +1,5 @@
-- liquibase formatted sql
-- changeset KelvinY:add_stockTakeSectionDescription_to_warehouse

ALTER TABLE `fpsmsdb`.`warehouse`
ADD COLUMN `stockTakeSectionDescription` VARCHAR(255) NULL;

Loading…
Cancel
Save