فهرست منبع

chore: auto bump version and changelog [skip ci]

zxyj-langgraph 1 روز پیش
والد
کامیت
84bb258a0e
5فایلهای تغییر یافته به همراه57 افزوده شده و 5 حذف شده
  1. 1 1
      cfc-web/.last_build_commit
  2. 2 2
      cfc-web/package-lock.json
  3. 1 1
      cfc-web/package.json
  4. 26 0
      cfc-web/public/CHANGELOG-v1.0.md
  5. 27 1
      cfc-web/public/CHANGELOG.md

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-a1c8a758fdd3655c678314854cd72d27c480c99d
+4c0ff672994a3f7f5081604dc7968b01a4afe13c

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.2487",
+  "version": "1.0.2488",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.2487",
+      "version": "1.0.2488",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.2488",
+  "version": "1.0.2489",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 26 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -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 修复

+ 27 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.2488
+> 当前版本: v1.0.2489
 
 ## 历史版本
 
@@ -8,6 +8,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 修复