Kaynağa Gözat

update

create_edit_user
cyril.tsui 2 ay önce
ebeveyn
işleme
c235cb2f43
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      src/main/resources/db/changelog/changes/20250529_01_cyril/02_create_inventory_lot_line_trigger_for_insert.sql
  2. +1
    -1
      src/main/resources/db/changelog/changes/20250529_01_cyril/03_create_inventory_lot_line_trigger_for_update.sql

+ 1
- 1
src/main/resources/db/changelog/changes/20250529_01_cyril/02_create_inventory_lot_line_trigger_for_insert.sql Dosyayı Görüntüle

@@ -83,7 +83,7 @@ begin
0 AS cpm,
ti.currencyName AS cpmUnit,
ti.uomId AS uomId,
if(coalesce(ti.qty, 0) > 0, 'Y', 'N') AS status
if(coalesce(ti.qty, 0) > 0, 'Available', 'Unavailable') AS status
from `temp_inventory` ti;
else
update `inventory` i


+ 1
- 1
src/main/resources/db/changelog/changes/20250529_01_cyril/03_create_inventory_lot_line_trigger_for_update.sql Dosyayı Görüntüle

@@ -85,7 +85,7 @@ begin
0 as cpm,
ti.currencyName as cpmUnit,
ti.uomId as uomId,
if(coalesce(ti.currentQty, 0) > 0, 'Y', 'N') as status
if(coalesce(ti.currentQty, 0) > 0, 'available', 'unavailable') as status
from `temp_inventory` ti;
else
update `inventory` i


Yükleniyor…
İptal
Kaydet