d791f7b251
fix: 批量任务插入后回填 JobItemId,修复 MQ 消费后仍待处理
...
InsertItemsAsync 批量插入后按 MessageId 回填自增 Id;消费者支持 JobItemId=0 时按 JobId+MessageId 解析子项。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 15:12:41 +08:00
bb09a51f4a
refactor: 合并 OrderTask 至批量任务,移除 t_order_task 依赖
...
Excel 导入与任务进度统一走 t_order_batch_job;删除旧实体、仓储与 /order/task/* 接口,上传返回 jobId。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 12:36:57 +08:00
377cc525d6
feat: 增强批量任务子项反馈与客户单号持久化
...
统一成功/失败结果快照,补全客户单号与 Excel 行号;系统重试耗尽后标记失败避免子项长期停留在执行中;任务 API 返回 pending/running/cancelled 计数。
2026-07-22 12:00:53 +08:00
dcf856568e
fix: 批量任务系统失败重新抛异常以触发 EventBus 重试
...
Restore InvalidOperationException on system failures after EventBus refactor; use OrderTaskStatusCodes when syncing import tasks.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 17:38:03 +08:00
32753e7606
简化
2026-07-21 10:45:57 +08:00
a4d6400318
refactor: 订单批量任务改走 Fake.EventBus.RabbitMQ
...
移除自建消费者与队列拓扑,统一由事件总线发布/消费,并优化下游转发查询与配置。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-20 17:54:29 +08:00
4f3bbd17bc
feat(order): 订单批量任务 RabbitMQ 异步处理与治理 API
...
引入批量 Job 表、RabbitMQ 队列与消费者,支持导入/小包创建及我的订单批量操作异步化,并提供任务列表、重试失败、取消 pending 与 DLX 监控接口及测试。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 09:52:22 +08:00