fix(home): 修复首页统计已审核口径 #14

Merged
TanWenyan merged 2 commits from wren-dev into main 2026-05-25 11:20:41 +08:00
Owner

变更说明

  • 首页统计不再只把 auditStatus == 1 计入已审核。
  • 将已有评查结果、通过/失败计数、完成 run 的文档纳入本月已审核统计。
  • 修复不通过文件被误算为待审,导致本月已审核文件、审核通过率、问题检出数显示为 0 的问题。
  • 更新前端子模块指针到首页统计接口路径修复提交。

验证

  • pytest tests/test_home_dashboard_statistics.py
  • python -m py_compile fastapi_modules/fastapi_leaudit/services/impl/homeServiceImpl.py tests/test_home_dashboard_statistics.py
  • git diff --check
## 变更说明 - 首页统计不再只把 `auditStatus == 1` 计入已审核。 - 将已有评查结果、通过/失败计数、完成 run 的文档纳入本月已审核统计。 - 修复不通过文件被误算为待审,导致本月已审核文件、审核通过率、问题检出数显示为 0 的问题。 - 更新前端子模块指针到首页统计接口路径修复提交。 ## 验证 - `pytest tests/test_home_dashboard_statistics.py` - `python -m py_compile fastapi_modules/fastapi_leaudit/services/impl/homeServiceImpl.py tests/test_home_dashboard_statistics.py` - `git diff --check`
TanWenyan added 2 commits 2026-05-25 11:16:52 +08:00
TanWenyan merged commit 81fa0e2c06 into main 2026-05-25 11:20:41 +08:00
Sign in to join this conversation.