recompute-persona.cli.ts
6.21 KB
-
feat(persona): recompute-persona 新增 --clinics=X,Y 按诊所收窄重算范围 · 3fb81481
按诊所补摄(cold-import --clinics)后,只重算新灌入那批患者,免全 host 白扫。 从 patient_transactions.clinic_id 反查患者集(与 cold-import --clinics 同口径), 与 --concurrency / --shard 组合。plans 侧不需要:runAllForHost 已并发+预取, 全量 ~5min 且幂等,直接全量跑即可。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
luoqi committed