Procházet zdrojové kódy

stock take section description col + stock trf translation

reset-do-picking-order
kelvin.yau před 1 týdnem
rodič
revize
203d2832e2
3 změnil soubory, kde provedl 9 přidání a 1 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

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

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

Načítá se…
Zrušit
Uložit