refactor(friday): inline 列沿用宿主原表列名 + 契约去掉「推送范围」
两条纪律收紧(宿主零改名、零行过滤):
1) inline 列不再用 PAC 自造名,一律沿用宿主源列名:
- customer_basic_info:phone/phone_relationship → contacts_tel/relationship(customer_contacts 原名)
- med_emr_info.diag[]:stdCode → std_code(std_diag 原名)
- class_name / organization_id / plan_name 本就是宿主原名,不变
宿主无需为 PAC 做任何字段改名。
2) 文档删除各表「推送范围」:med_emr_info 那条 status∈{3,4} 是残留的宿主侧过滤,
而 manifest E.0 已在 PAC 侧排草稿 —— 重复且违背单一真理源。改为 §1 统一声明
「整表照推,宿主不做任何行过滤;status/金额切分全部由 PAC 完成」。
验证:元和王永 dry-run 与改前逐项一致(patients=16472 txns=117718 failed=0;
phone/K04/modality/退费 190+308 全对);typecheck 干净,299 测试绿。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment