parent
615f57b2e6
commit
c407dde7a0
|
@ -114,7 +114,7 @@ BEGIN
|
||||||
AND st.order <= destinationOrder
|
AND st.order <= destinationOrder
|
||||||
GROUP BY t.id
|
GROUP BY t.id
|
||||||
) dest ON dest.addressFk = origin.futureAddressFk
|
) dest ON dest.addressFk = origin.futureAddressFk
|
||||||
WHERE origin.hasStock != 0;
|
WHERE origin.hasStock;
|
||||||
|
|
||||||
DROP TEMPORARY TABLE tStock;
|
DROP TEMPORARY TABLE tStock;
|
||||||
END$$
|
END$$
|
||||||
|
|
Loading…
Reference in New Issue