liufumingren eacf54091d feat(order.pendingOrder): 批量锁定跳过已取消订单
取消订单(status=cancel)为终态,被锁定后会残留锁定标记导致无法正常出库。
runBatchLockTask 查询时带出 status,取消订单不参与锁定更新、不写 ORDER_LOCK 日志;
混合批次只锁定未取消订单,并通过 skipped_cancelled_order_count /
skipped_cancelled_order_ids 透出跳过明细。

并发保护:更新语句 where 增加 status != 'cancel',并按实际影响行数回查确认
后才写日志与计数。

同步更新 methods/system.json 与 methods/changes/system.json(0.3.322)。

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-04 04:46:47 +08:00
..
2026-10-29 15:02:29 +08:00
2026-10-29 15:02:29 +08:00
2026-10-29 15:02:29 +08:00