后端迁移履约任务服务

This commit is contained in:
yml
2026-05-21 14:35:08 +08:00
parent 8bb0223d2f
commit 678b7bdf0c
2 changed files with 128 additions and 27 deletions
+9 -2
View File
@@ -297,14 +297,21 @@
- `npm run typecheck`
- `npm run build`
- `npm test` 共 128 个用例通过
39. delivery task 服务迁移到 `.ts`
- `src/services/order/delivery-task-service.ts`
40. 订单行、订单商品、履约 profile / requirement、依赖注入、任务上下文、JSON 配置读取已显式类型化
41. Docker 内验证通过:
- delivery task / 订单 / webhook / open91 相关 4 个测试文件共 18 个用例通过
- `npm run typecheck`
- `npm run build`
- `npm test` 共 128 个用例通过
## 下一步建议
第一批继续推进时,建议按这个顺序:
1. 继续迁移服务层中最核心、最常改的订单 / 履约 / claim 模块
2. 迁移 delivery task 服务 `.ts`
3. 逐步移除服务层 `@ts-nocheck`,优先处理 webhook service、自动发货
2. 逐步移除服务 `@ts-nocheck`,优先处理 webhook service、自动发货
## 执行原则