fix: 收紧日计划状态恢复条件
This commit is contained in:
@@ -147,6 +147,7 @@
|
||||
AND deleted = b'0'
|
||||
AND order_status = 3
|
||||
AND previous_order_status IS NOT NULL
|
||||
AND previous_order_status IN (0, 1)
|
||||
</update>
|
||||
|
||||
<update id="restoreStockingWithVersion">
|
||||
@@ -161,6 +162,7 @@
|
||||
AND order_status = 1
|
||||
AND stocking_status = 3
|
||||
AND previous_stocking_status IS NOT NULL
|
||||
AND previous_stocking_status IN (0, 1)
|
||||
</update>
|
||||
|
||||
<update id="restoreSleevingWithVersion">
|
||||
@@ -175,6 +177,7 @@
|
||||
AND order_status = 1
|
||||
AND sleeving_status = 3
|
||||
AND previous_sleeving_status IS NOT NULL
|
||||
AND previous_sleeving_status IN (0, 1)
|
||||
</update>
|
||||
|
||||
<update id="updateStateWithVersion">
|
||||
|
||||
Reference in New Issue
Block a user