订单关闭bug-update

This commit is contained in:
2026-04-05 20:33:35 +08:00
parent fa2bac7f31
commit 8d4dfdc8be
4 changed files with 30 additions and 29 deletions

View File

@@ -0,0 +1,3 @@
CREATE INDEX idx_user_order_search ON user_order (payment_status, order_status, payment_type, create_time);
update user_order set payment_status = 0 , order_status = 0 where payment_status = 2 and order_status = 5 and payment_type = 99;