Files
syops/backend/workers/README.md
T
hugo 9f2b023a10 feat(in-transit-transfer): 打通ERP 写路径按票执行与已执行调拨单卡片入口
- 新增 TransferDocument 按票执行模型与单据号序列生成(document_id 独立模块,迁移 tt0d/tt8b)
- 发票行新增单位字段、matching_id 放宽可空,支持行与票两级执行口径(迁移 tt9c/tt1a)
- capability_client 新增 create_transfer 写契约与六态结果裁决,执行链补写前复查门禁
- 抽取/匹配/执行 Job 按 run/item/match 拆分并入 jobs store 队列,transfer 队列单实例 worker 配套本地启动脚本
- 首页新增「已执行调拨单」四统计卡入口与明细列表子视图,重查/重试/关闭/重新触发与筛选分页齐全
- 行评估新鲜度 TTL 从 10 分钟放宽为当日有效(86400s),跨日由文件版本对账门禁兜底
- 同步 chat/errors 文案四语言、测试全家与两份实施计划文档
2026-09-27 18:13:25 +08:00

13 lines
649 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Worker 进程启动脚本目录
与根目录 `worker_*.py` 对应关系(与 KB 一致):
| 根目录(Compose 正式入口,含并发) | `workers/`(Supervisor 兼容薄封装,单进程) |
| --- | --- |
| `worker_kb.py` | `worker_kb.py` → `main(queues=['kb'])` |
| `worker_shipping.py` | `worker_shipping_notice.py` → `main(queues=['shipping'])` |
| — | `worker_scheduler.py` → `main(queues=['schedule'])` |
| —(Compose 直接用本目录单实例入口) | `worker_in_transit_transfer.py` → `main(queues=['transfer'])` |
本地 / Compose 请用根目录脚本,以保留 `*_WORKER_CONCURRENCY` 多进程能力。