|
|
@@ -4,6 +4,32 @@
|
|
|
|
|
|
---
|
|
|
|
|
|
+## v1.0.2489 (2026-11-14)
|
|
|
+
|
|
|
+### 新功能
|
|
|
+- S-cfc-369 测评预约创建前校验所选规划师 ∈ 家庭已绑定T列表(SC-P-32 未绑定提示先绑定)
|
|
|
+- S-cfc-364 报告档案管理红测转绿(删除守卫/单报告趋势/报告对比/归属校验)
|
|
|
+- S-cfc-367 growth.milestone.mark 成长里程碑标记契约使绿(系统/手动标+幂等+时间线高亮判定,GrowthMilestoneMarkContractTest 7红转8绿)
|
|
|
+
|
|
|
+### 其他
|
|
|
+- 或所选 guideId 不在家庭绑定列表 → 返回「请先绑定规划师」,且不消耗额度、不创建预约
|
|
|
+- - AssessmentAppointmentService: 新增 requireBoundPlanner(guideId, familyId)(复用
|
|
|
+- GuideFamilyService.isBound 家庭维度反查,区别于规划师侧 GuideFamilyAccessGuard)
|
|
|
+- - AssessmentPlannerSelectContractTest 7红转绿
|
|
|
+-
|
|
|
+- - HealthReportService: 注入 GrowthPlanMapper + hasLinkedPlan/assertNotLinkedToPlan 删除守卫
|
|
|
+- (关联成长方案拒绝删除,提示「请先解除关联方案」);deleteReport 入口先过守卫
|
|
|
+- - FamilyMemberNutritionProfileService: getReportTrendData 增 reportType 同类型过滤重载,
|
|
|
+- 单报告(同类型<2)返回 trendAvailable=false + 「至少需要 2 份报告才能看趋势」
|
|
|
+- - 新增 ReportArchiveCompareService.compareReports(reportAId, reportBId):
|
|
|
+- 类型一致才可比对,返回报告摘要 + 指标级差异标注(same/different/onlyInA/onlyInB) + 总分差异
|
|
|
+- - HealthReportController: 新增 POST /api/health/report/compare;deleteReport 增
|
|
|
+- @RequestAttribute userId/familyId 归属校验,横向越权删除 403(SC-P-24-P)
|
|
|
+- - API_REFERENCE §4.59.10 + PROJECT-OVERVIEW 同步该契约缺口落地
|
|
|
+- 验证: ReportArchiveManageContractTest 8/8 全绿;HealthReportController* 4 类回归 31/31 无回归
|
|
|
+-
|
|
|
+
|
|
|
+
|
|
|
## v1.0.2488 (2026-11-14)
|
|
|
|
|
|
### Bug 修复
|