Przeglądaj źródła

stock take section description col + stock trf translation

reset-do-picking-order
kelvin.yau 1 tydzień temu
rodzic
commit
203d2832e2
3 zmienionych plików z 9 dodań i 1 usunięć
  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 Wyświetl plik

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

@Column(name = "stockTakeSection", nullable = true, length = 255)
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 Wyświetl plik

@@ -295,7 +295,7 @@ open class InventoryLotLineService(
val pdf = if (stockInLine?.stockTransferRecord != null) {
val targetLocation = stockInLine.stockTransferRecord?.targetLocation ?: ""
exportStockInLineQrcode(
LotLineToQrcode(inventoryLotLineId = request.inventoryLotLineId, isTransfer = "轉倉至 $targetLocation")
LotLineToQrcode(inventoryLotLineId = request.inventoryLotLineId, isTransfer = "轉倉至 $targetLocation")
)
} else {
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 Wyświetl plik

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

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

Ładowanie…
Anuluj
Zapisz