7806_devToTest_2332 #2801
|
@ -86,8 +86,8 @@ proc: BEGIN
|
|||
WHERE calc_id = vCalcFk;
|
||||
|
||||
UPDATE tmp.itemInventory it
|
||||
JOIN tItemInventoryCalc iic ON iic.itemFk = it.id
|
||||
JOIN tItemVisibleCalc ivc ON ivc.item_id = it.id
|
||||
LEFT JOIN tItemInventoryCalc iic ON iic.itemFk = it.id
|
||||
LEFT JOIN tItemVisibleCalc ivc ON ivc.item_id = it.id
|
||||
SET it.inventory = iic.quantity,
|
||||
it.visible = ivc.visible,
|
||||
it.avalaible = iic.quantity,
|
||||
|
|
Loading…
Reference in New Issue