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-11-04 04:46:47 +08:00
2026-03-16 14:01:22 +08:00
2026-09-10 20:59:39 +08:00
2026-09-24 03:26:15 +08:00
2026-10-28 07:22:44 +08:00
2026-09-15 16:18:39 +08:00
2026-08-31 17:17:48 +08:00
2026-08-01 03:43:47 +08:00
2026-09-17 02:41:43 +08:00
2026-09-30 03:08:27 +08:00
2026-09-15 23:49:34 +08:00
2026-07-27 03:46:51 +08:00
2026-06-23 18:48:33 +08:00
2026-04-09 01:36:49 +08:00
2026-09-24 03:26:21 +08:00
2026-09-25 23:40:56 +08:00
2026-09-18 22:38:57 +08:00
2026-10-27 03:08:58 +08:00
2026-10-16 05:27:30 +08:00
2026-10-23 22:35:08 +08:00
2026-08-12 20:47:19 +08:00
2026-09-20 16:13:59 +08:00
2026-07-29 13:57:04 +08:00
2026-08-31 17:17:48 +08:00
2026-10-06 03:24:36 +08:00
2026-10-06 03:24:36 +08:00
2026-10-21 15:46:18 +08:00
2026-10-06 03:24:36 +08:00
2026-08-15 20:12:26 +08:00
2026-08-04 08:18:43 +08:00
2026-04-09 01:36:49 +08:00
2026-07-06 22:07:10 +08:00
2026-10-27 03:08:51 +08:00
2026-07-10 18:10:11 +08:00
2026-10-16 05:29:13 +08:00
2026-09-21 02:28:04 +08:00