Explorar el Código

stock take section description col + stock trf translation

reset-do-picking-order
kelvin.yau hace 1 semana
padre
commit
203d2832e2
Se han modificado 3 ficheros con 9 adiciones y 1 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

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

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

Cargando…
Cancelar
Guardar