Commit Graph
3 Commits
Author SHA1 Message Date
ilaandClaude Opus 4.8 f3c5e1bf8d feat(osi): 某人全部体检查询 JKTJ00002(T-306)
- osi.QueryHealthChecks(/auto/jktj/query,返回全部体检数组)
- contract.HealthCheckRecordSummary:驼峰 idCard(≠最近一次小写 idcard)、checkId 可空
- HTTP 端点 GET /api/health-check/all
- 单测含 null checkId 场景;实测端点已部署

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 22:14:39 +08:00
ilaandClaude Opus 4.8 e67664da45 feat(handler): 体检 HTTP 查询端点(T-302)
- GET /api/health-check/last(最近一次)+ /api/health-check/list(年度已检未检名单)
- 回写平台完整响应 Result.Raw,抽 writeRawOrError 共用
- last 按 idCard/phrid/empiId;list 按 checkYear(必填)+idCard+checkType
- 单测:路径/原样回写/缺参 400(脱敏假 OSI 后端);默认仅绑本机

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 21:17:02 +08:00
ilaandClaude Opus 4.8 47eaf1051e feat(handler): server 模式健康档案查询端点(T-208)
- GET /api/health-record/find 按 idCard/phrid/personName/empiId 查询
- 回写平台完整响应(Result.Raw),未建模字段不丢失
- 抽 buildOSIClient 共用构造,verify 与 server 复用
- 默认仅绑 127.0.0.1(端点返回真实档案 PII,避免暴露局域网)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 00:05:22 +08:00