test(mapping): 增加健康档案映射样本基线(T-205)

This commit is contained in:
ila
2026-07-07 14:55:16 +08:00
parent 767c876519
commit 24f03179de
5 changed files with 144 additions and 7 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
| --- | --- | --- | --- | --- |
| T-102 | `mapping/dict.go` 全量码表(含 56 项民族) | T-001 | 双向查表;未命中显式 ValidationError;单测覆盖(静态枚举,不走网络) | DONE |
| T-202 | `mapping/health_record.go` + `mapping/checkid.go` | T-102, T-201 | 映射纯函数 + 结构化校验错误;主数据经 `MapContext` 字典快照注入(单测塞假快照);checkId 确定性生成单测 | DONE |
| T-205 | 映射单测基线:docx 样例 + 联调样本 | T-202 | `go test ./mapping/...` 全绿;必填/码表/格式校验生效 | TODO |
| T-205 | 映射单测基线:docx 样例 + 联调样本 | T-202 | `go test ./mapping/...` 全绿;必填/码表/格式校验生效 | DONE |
## Phase D · 字典服务与创建闭环(真实主数据反查)