iven
ee9a5c4da1
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled
fix(health): 三次审计批次A修复 — 7个CRITICAL问题
- C-1: create_record handler 添加 Path(task_id) 提取,校验路径与body一致
- C-2: appointment CAS+INSERT 包裹在数据库事务中,防止幽灵占位
- C-3: appointment 取消释放名额添加 current_appointments > 0 下限保护
- C-4: create_lab_report 添加 patient_id 存在校验
- C-5: create_health_record 添加 patient_id 校验 + record_type 默认值 "routine"→"checkup"
- C-6: health_data update 操作添加 patient_id 归属校验(vital_signs/lab_report/health_record)
- C-7: follow_up_type 校验值改为设计规格定义的 phone/face_to_face/online
- 修复 article_service.rs 编译错误(未使用import + 缺少QuerySelect + 错误变体)
2026-04-24 00:46:11 +08:00
..
2026-04-24 00:05:43 +08:00
2026-04-19 08:46:28 +08:00
2026-04-19 08:46:28 +08:00
2026-04-24 00:46:11 +08:00
2026-04-19 08:46:28 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-19 00:56:32 +08:00
2026-04-20 09:35:27 +08:00
2026-04-15 00:49:20 +08:00
2026-04-15 00:49:20 +08:00
2026-04-24 00:05:43 +08:00
2026-04-15 01:27:33 +08:00