From 98d862dbd4a8cf6646eff764c7b371ab774b7822 Mon Sep 17 00:00:00 2001 From: HaHafeng Date: Wed, 14 Jan 2026 19:19:00 +0800 Subject: [PATCH] feat(aia): Complete AIA V2.0 and sync all changes AIA V2.0 Major Updates: - Add StreamingService with OpenAI Compatible format (backend/common/streaming) - Upgrade Chat component V2 with Ant Design X deep integration - Implement 12 intelligent agents (5 phases: topic/design/review/data/writing) - Create AgentHub with 100% prototype V11 restoration - Create ChatWorkspace with fullscreen immersive experience - Add ThinkingBlock for deep thinking display - Add useAIStream Hook for stream handling - Add ConversationList for conversation management Backend (~1300 lines): - common/streaming: OpenAI adapter and streaming service - modules/aia: 12 agents config, conversation service, attachment service - Unified API routes to /api/v1 (RVW, PKB, AIA modules) - Update authentication and permission helpers Frontend (~3500 lines): - modules/aia: AgentHub + ChatWorkspace + AgentCard components - shared/Chat: AIStreamChat, ThinkingBlock, useAIStream, useConversations - Update all modules API endpoints to v1 - Modern design with theme colors (blue/yellow/teal/purple) Documentation (~2500 lines): - AIA module status and development guide - Universal capabilities catalog (11 services) - Quick reference card - System overview updates - All module documentation synchronization Other Updates: - DC Tool C: Python operations and frontend components - IIT Manager: session memory and wechat service - PKB/RVW/ASL: API route updates - Docker configs and deployment scripts - Database migrations and scripts - Test files and documentation Tested: AIA streaming verified, authentication working, core features functional Status: AIA V2.0 completed (85%), all changes synchronized --- COMMIT_DAY1.txt | 1 + DC模块代码恢复指南.md | 1 + SAE_WECHAT_MP_DEPLOY_STEPS.md | 1 + backend/DEPLOY_TO_SAE_FOR_WECHAT_MP.md | 1 + backend/RESTART_SERVER_NOW.md | 1 + backend/WECHAT_MP_CONFIG_READY.md | 1 + backend/WECHAT_MP_QUICK_FIX.md | 1 + backend/check_db.ts | 1 + backend/check_db_data.ts | 1 + backend/check_iit.ts | 1 + backend/check_iit_asl_data.ts | 1 + backend/check_queue_table.ts | 1 + backend/check_rvw_issue.ts | 1 + backend/check_tables.ts | 1 + backend/compare_db.ts | 1 + backend/compare_dc_asl.ts | 1 + backend/compare_pkb_aia_rvw.ts | 1 + backend/compare_schema_db.ts | 1 + backend/create_mock_user.sql | 1 + backend/create_mock_user_platform.sql | 1 + .../add_data_stats_to_tool_c_session.sql | 1 + .../001_add_postgres_cache_and_checkpoint.sql | 1 + .../manual-migrations/run-migration-002.ts | 1 + .../20251208_add_column_mapping/migration.sql | 1 + .../migrations/create_tool_c_session.sql | 1 + backend/rebuild-and-push.ps1 | 1 + backend/recover-code-from-cursor-db.js | 1 + backend/restore_job_common.sql | 1 + backend/restore_pgboss_functions.sql | 1 + backend/scripts/check-dc-tables.mjs | 1 + backend/scripts/create-capability-schema.sql | 1 + .../create-tool-c-ai-history-table.mjs | 1 + backend/scripts/create-tool-c-table.js | 1 + backend/scripts/create-tool-c-table.mjs | 1 + backend/scripts/setup-prompt-system.ts | 1 + backend/scripts/test-pkb-apis-simple.ts | 103 ++-- backend/scripts/test-pkb-apis.ts | 159 ++--- backend/scripts/test-prompt-api.ts | 1 + backend/scripts/verify-pkb-rvw-schema.ts | 1 + .../src/modules/admin/routes/tenantRoutes.ts | 1 + .../src/modules/admin/types/tenant.types.ts | 1 + .../__tests__/api-integration-test.ts | 1 + .../__tests__/e2e-real-test-v2.ts | 1 + .../__tests__/fulltext-screening-api.http | 1 + .../services/ConflictDetectionService.ts | 1 + backend/src/modules/dc/tool-c/README.md | 1 + .../tool-c/controllers/StreamAIController.ts | 1 + .../iit-manager/agents/SessionMemory.ts | 1 + .../iit-manager/check-iit-table-structure.ts | 1 + .../iit-manager/check-project-config.ts | 1 + .../iit-manager/check-test-project-in-db.ts | 1 + .../iit-manager/docs/微信服务号接入指南.md | 1 + .../iit-manager/generate-wechat-tokens.ts | 1 + .../services/PatientWechatService.ts | 1 + .../iit-manager/test-chatservice-dify.ts | 1 + .../modules/iit-manager/test-iit-database.ts | 1 + .../iit-manager/test-patient-wechat-config.ts | 1 + .../test-patient-wechat-url-verify.ts | 1 + .../iit-manager/test-redcap-query-from-db.ts | 1 + .../iit-manager/test-wechat-mp-local.ps1 | 1 + .../src/modules/iit-manager/types/index.ts | 1 + backend/src/tests/README.md | 1 + backend/src/tests/verify-test1-database.sql | 1 + backend/src/tests/verify-test1-database.ts | 1 + backend/src/types/global.d.ts | 1 + backend/sync-dc-database.ps1 | 1 + backend/temp_check.sql | 1 + backend/test-pkb-migration.http | 87 +-- backend/test-tool-c-advanced-scenarios.mjs | 1 + backend/test-tool-c-day2.mjs | 1 + backend/test-tool-c-day3.mjs | 1 + backend/verify_all_users.ts | 1 + backend/verify_functions.ts | 1 + backend/verify_job_common.ts | 1 + backend/verify_mock_user.ts | 1 + backend/verify_system.ts | 1 + deploy-to-sae.ps1 | 1 + earch | 579 ++++++++++++++++++ extraction_service/.dockerignore | 1 + extraction_service/operations/__init__.py | 1 + extraction_service/operations/dropna.py | 1 + extraction_service/operations/filter.py | 1 + extraction_service/operations/unpivot.py | 1 + extraction_service/test_dc_api.py | 1 + extraction_service/test_execute_simple.py | 1 + extraction_service/test_module.py | 1 + frontend-v2/.dockerignore | 1 + frontend-v2/docker-entrypoint.sh | 1 + frontend-v2/nginx.conf | 1 + .../asl/components/FulltextDetailDrawer.tsx | 1 + frontend-v2/src/modules/dc/hooks/useAssets.ts | 1 + .../src/modules/dc/hooks/useRecentTasks.ts | 1 + .../pages/tool-c/components/DropnaDialog.tsx | 1 + .../tool-c/components/MetricTimePanel.tsx | 1 + .../dc/pages/tool-c/components/PivotPanel.tsx | 1 + .../dc/pages/tool-c/hooks/useSessionStatus.ts | 1 + .../modules/dc/pages/tool-c/types/index.ts | 1 + frontend-v2/src/modules/dc/types/portal.ts | 1 + frontend-v2/src/shared/components/index.ts | 1 + frontend-v2/src/vite-env.d.ts | 1 + .../src/pages/rvw/components/BatchToolbar.tsx | 1 + .../pages/rvw/components/EditorialReport.tsx | 1 + .../src/pages/rvw/components/FilterChips.tsx | 1 + frontend/src/pages/rvw/components/Header.tsx | 1 + .../src/pages/rvw/components/ReportDetail.tsx | 1 + .../src/pages/rvw/components/ScoreRing.tsx | 1 + frontend/src/pages/rvw/components/Sidebar.tsx | 1 + frontend/src/pages/rvw/index.ts | 1 + frontend/src/pages/rvw/styles.css | 1 + git-cleanup-redcap.ps1 | 1 + git-commit-day1.ps1 | 1 + git-fix-lock.ps1 | 1 + python-microservice/operations/__init__.py | 1 + python-microservice/operations/binning.py | 1 + python-microservice/operations/filter.py | 1 + python-microservice/operations/recode.py | 1 + recover_dc_code.py | 1 + redcap-docker-dev/.gitattributes | 1 + redcap-docker-dev/.gitignore | 1 + redcap-docker-dev/README.md | 1 + redcap-docker-dev/docker-compose.prod.yml | 1 + redcap-docker-dev/docker-compose.yml | 1 + redcap-docker-dev/env.template | 1 + redcap-docker-dev/scripts/clean-redcap.ps1 | 1 + .../scripts/create-redcap-password.php | 1 + redcap-docker-dev/scripts/logs-redcap.ps1 | 1 + .../scripts/reset-admin-password.php | 1 + redcap-docker-dev/scripts/start-redcap.ps1 | 1 + redcap-docker-dev/scripts/stop-redcap.ps1 | 1 + run_recovery.ps1 | 1 + tests/QUICKSTART_快速开始.md | 1 + tests/README_测试说明.md | 1 + tests/run_tests.bat | 1 + tests/run_tests.sh | 1 + 快速部署到SAE.md | 1 + 部署检查清单.md | 1 + 136 files changed, 875 insertions(+), 185 deletions(-) create mode 100644 earch diff --git a/COMMIT_DAY1.txt b/COMMIT_DAY1.txt index 51f9eafa..89eabcf4 100644 --- a/COMMIT_DAY1.txt +++ b/COMMIT_DAY1.txt @@ -45,5 +45,6 @@ Status: Day 1 complete (11/11 tasks), ready for Day 2 + diff --git a/DC模块代码恢复指南.md b/DC模块代码恢复指南.md index 8d009392..f9734e89 100644 --- a/DC模块代码恢复指南.md +++ b/DC模块代码恢复指南.md @@ -275,5 +275,6 @@ + diff --git a/SAE_WECHAT_MP_DEPLOY_STEPS.md b/SAE_WECHAT_MP_DEPLOY_STEPS.md index f758b02c..8d280e4b 100644 --- a/SAE_WECHAT_MP_DEPLOY_STEPS.md +++ b/SAE_WECHAT_MP_DEPLOY_STEPS.md @@ -223,3 +223,4 @@ https://iit.xunzhengyixue.com/api/v1/iit/health + diff --git a/backend/DEPLOY_TO_SAE_FOR_WECHAT_MP.md b/backend/DEPLOY_TO_SAE_FOR_WECHAT_MP.md index bcf63225..2f567ab9 100644 --- a/backend/DEPLOY_TO_SAE_FOR_WECHAT_MP.md +++ b/backend/DEPLOY_TO_SAE_FOR_WECHAT_MP.md @@ -152,3 +152,4 @@ https://iit.xunzhengyixue.com/api/v1/iit/health + diff --git a/backend/RESTART_SERVER_NOW.md b/backend/RESTART_SERVER_NOW.md index 5d2d662f..c6f80f19 100644 --- a/backend/RESTART_SERVER_NOW.md +++ b/backend/RESTART_SERVER_NOW.md @@ -53,3 +53,4 @@ + diff --git a/backend/WECHAT_MP_CONFIG_READY.md b/backend/WECHAT_MP_CONFIG_READY.md index 4b52169e..2bbb3f11 100644 --- a/backend/WECHAT_MP_CONFIG_READY.md +++ b/backend/WECHAT_MP_CONFIG_READY.md @@ -313,3 +313,4 @@ npx tsx src/modules/iit-manager/test-patient-wechat-url-verify.ts + diff --git a/backend/WECHAT_MP_QUICK_FIX.md b/backend/WECHAT_MP_QUICK_FIX.md index 32249f9f..6190f741 100644 --- a/backend/WECHAT_MP_QUICK_FIX.md +++ b/backend/WECHAT_MP_QUICK_FIX.md @@ -175,3 +175,4 @@ npm run dev + diff --git a/backend/check_db.ts b/backend/check_db.ts index 36b2d2e3..f8772e9d 100644 --- a/backend/check_db.ts +++ b/backend/check_db.ts @@ -52,3 +52,4 @@ main() + diff --git a/backend/check_db_data.ts b/backend/check_db_data.ts index 24b2750b..8cab0248 100644 --- a/backend/check_db_data.ts +++ b/backend/check_db_data.ts @@ -46,3 +46,4 @@ main() + diff --git a/backend/check_iit.ts b/backend/check_iit.ts index 3b38420f..fe61d753 100644 --- a/backend/check_iit.ts +++ b/backend/check_iit.ts @@ -41,3 +41,4 @@ main() + diff --git a/backend/check_iit_asl_data.ts b/backend/check_iit_asl_data.ts index 496c7a00..8eb22f03 100644 --- a/backend/check_iit_asl_data.ts +++ b/backend/check_iit_asl_data.ts @@ -73,3 +73,4 @@ main() + diff --git a/backend/check_queue_table.ts b/backend/check_queue_table.ts index d4ca33c8..b35f5692 100644 --- a/backend/check_queue_table.ts +++ b/backend/check_queue_table.ts @@ -36,3 +36,4 @@ main() + diff --git a/backend/check_rvw_issue.ts b/backend/check_rvw_issue.ts index 53aa11eb..d3f8d5fe 100644 --- a/backend/check_rvw_issue.ts +++ b/backend/check_rvw_issue.ts @@ -77,3 +77,4 @@ main() + diff --git a/backend/check_tables.ts b/backend/check_tables.ts index e553e850..61b5b577 100644 --- a/backend/check_tables.ts +++ b/backend/check_tables.ts @@ -24,3 +24,4 @@ main() + diff --git a/backend/compare_db.ts b/backend/compare_db.ts index c487daf3..a111d8dd 100644 --- a/backend/compare_db.ts +++ b/backend/compare_db.ts @@ -112,3 +112,4 @@ main() + diff --git a/backend/compare_dc_asl.ts b/backend/compare_dc_asl.ts index 627c96ee..27624909 100644 --- a/backend/compare_dc_asl.ts +++ b/backend/compare_dc_asl.ts @@ -83,3 +83,4 @@ main() + diff --git a/backend/compare_pkb_aia_rvw.ts b/backend/compare_pkb_aia_rvw.ts index 53370974..d2be31a8 100644 --- a/backend/compare_pkb_aia_rvw.ts +++ b/backend/compare_pkb_aia_rvw.ts @@ -69,3 +69,4 @@ main() + diff --git a/backend/compare_schema_db.ts b/backend/compare_schema_db.ts index fc3289c3..d539fd19 100644 --- a/backend/compare_schema_db.ts +++ b/backend/compare_schema_db.ts @@ -111,3 +111,4 @@ main() + diff --git a/backend/create_mock_user.sql b/backend/create_mock_user.sql index 06b62c38..fd4e78a4 100644 --- a/backend/create_mock_user.sql +++ b/backend/create_mock_user.sql @@ -22,3 +22,4 @@ ON CONFLICT (id) DO NOTHING; + diff --git a/backend/create_mock_user_platform.sql b/backend/create_mock_user_platform.sql index eb374090..9b59e609 100644 --- a/backend/create_mock_user_platform.sql +++ b/backend/create_mock_user_platform.sql @@ -54,3 +54,4 @@ ON CONFLICT (id) DO NOTHING; + diff --git a/backend/migrations/add_data_stats_to_tool_c_session.sql b/backend/migrations/add_data_stats_to_tool_c_session.sql index 916e910b..4775cfd8 100644 --- a/backend/migrations/add_data_stats_to_tool_c_session.sql +++ b/backend/migrations/add_data_stats_to_tool_c_session.sql @@ -70,5 +70,6 @@ WHERE table_schema = 'dc_schema' + diff --git a/backend/prisma/manual-migrations/001_add_postgres_cache_and_checkpoint.sql b/backend/prisma/manual-migrations/001_add_postgres_cache_and_checkpoint.sql index b58e8291..f641c026 100644 --- a/backend/prisma/manual-migrations/001_add_postgres_cache_and_checkpoint.sql +++ b/backend/prisma/manual-migrations/001_add_postgres_cache_and_checkpoint.sql @@ -108,5 +108,6 @@ ORDER BY ordinal_position; + diff --git a/backend/prisma/manual-migrations/run-migration-002.ts b/backend/prisma/manual-migrations/run-migration-002.ts index 9cd27194..67fdbd57 100644 --- a/backend/prisma/manual-migrations/run-migration-002.ts +++ b/backend/prisma/manual-migrations/run-migration-002.ts @@ -121,5 +121,6 @@ runMigration() + diff --git a/backend/prisma/migrations/20251208_add_column_mapping/migration.sql b/backend/prisma/migrations/20251208_add_column_mapping/migration.sql index 4d7cfb24..22269b42 100644 --- a/backend/prisma/migrations/20251208_add_column_mapping/migration.sql +++ b/backend/prisma/migrations/20251208_add_column_mapping/migration.sql @@ -55,5 +55,6 @@ COMMENT ON COLUMN "dc_schema"."dc_tool_c_sessions"."column_mapping" IS '列名 + diff --git a/backend/prisma/migrations/create_tool_c_session.sql b/backend/prisma/migrations/create_tool_c_session.sql index f1fc08f3..0b4a22ed 100644 --- a/backend/prisma/migrations/create_tool_c_session.sql +++ b/backend/prisma/migrations/create_tool_c_session.sql @@ -82,5 +82,6 @@ COMMENT ON COLUMN dc_schema.dc_tool_c_sessions.expires_at IS '过期时间(创 + diff --git a/backend/rebuild-and-push.ps1 b/backend/rebuild-and-push.ps1 index 86fb15b5..2d72b2ea 100644 --- a/backend/rebuild-and-push.ps1 +++ b/backend/rebuild-and-push.ps1 @@ -122,5 +122,6 @@ Write-Host "" + diff --git a/backend/recover-code-from-cursor-db.js b/backend/recover-code-from-cursor-db.js index 77a42b61..53090a10 100644 --- a/backend/recover-code-from-cursor-db.js +++ b/backend/recover-code-from-cursor-db.js @@ -232,5 +232,6 @@ function extractCodeBlocks(obj, blocks = []) { + diff --git a/backend/restore_job_common.sql b/backend/restore_job_common.sql index be209c4a..4769aa4f 100644 --- a/backend/restore_job_common.sql +++ b/backend/restore_job_common.sql @@ -31,3 +31,4 @@ CREATE TABLE IF NOT EXISTS platform_schema.job_common ( + diff --git a/backend/restore_pgboss_functions.sql b/backend/restore_pgboss_functions.sql index ae831ce1..7a92bce4 100644 --- a/backend/restore_pgboss_functions.sql +++ b/backend/restore_pgboss_functions.sql @@ -105,3 +105,4 @@ CREATE OR REPLACE FUNCTION platform_schema.delete_queue(queue_name text) RETURNS + diff --git a/backend/scripts/check-dc-tables.mjs b/backend/scripts/check-dc-tables.mjs index d5919d3e..24b18a86 100644 --- a/backend/scripts/check-dc-tables.mjs +++ b/backend/scripts/check-dc-tables.mjs @@ -251,5 +251,6 @@ checkDCTables(); + diff --git a/backend/scripts/create-capability-schema.sql b/backend/scripts/create-capability-schema.sql index 2d780178..b6739341 100644 --- a/backend/scripts/create-capability-schema.sql +++ b/backend/scripts/create-capability-schema.sql @@ -6,3 +6,4 @@ CREATE SCHEMA IF NOT EXISTS capability_schema; + diff --git a/backend/scripts/create-tool-c-ai-history-table.mjs b/backend/scripts/create-tool-c-ai-history-table.mjs index 80906dbf..aa037188 100644 --- a/backend/scripts/create-tool-c-ai-history-table.mjs +++ b/backend/scripts/create-tool-c-ai-history-table.mjs @@ -203,5 +203,6 @@ createAiHistoryTable() + diff --git a/backend/scripts/create-tool-c-table.js b/backend/scripts/create-tool-c-table.js index f23ff632..f36fb754 100644 --- a/backend/scripts/create-tool-c-table.js +++ b/backend/scripts/create-tool-c-table.js @@ -190,5 +190,6 @@ createToolCTable() + diff --git a/backend/scripts/create-tool-c-table.mjs b/backend/scripts/create-tool-c-table.mjs index 161283ab..e8970775 100644 --- a/backend/scripts/create-tool-c-table.mjs +++ b/backend/scripts/create-tool-c-table.mjs @@ -187,5 +187,6 @@ createToolCTable() + diff --git a/backend/scripts/setup-prompt-system.ts b/backend/scripts/setup-prompt-system.ts index 321193ba..6fcf7451 100644 --- a/backend/scripts/setup-prompt-system.ts +++ b/backend/scripts/setup-prompt-system.ts @@ -116,3 +116,4 @@ main() + diff --git a/backend/scripts/test-pkb-apis-simple.ts b/backend/scripts/test-pkb-apis-simple.ts index 265d2f34..f167f0e4 100644 --- a/backend/scripts/test-pkb-apis-simple.ts +++ b/backend/scripts/test-pkb-apis-simple.ts @@ -1,5 +1,5 @@ /** - * PKB模块API简化测试脚本 + * PKB模块API简化测试脚? * 测试现有知识库的各项功能 */ @@ -17,36 +17,36 @@ interface TestResult { const results: TestResult[] = []; function printResult(result: TestResult) { - const icon = result.status === 'pass' ? '✅' : '❌'; + const icon = result.status === 'pass' ? '? : '?; console.log(`${icon} ${result.name} ${result.duration ? `(${result.duration}ms)` : ''}`); console.log(` ${result.message}`); } -// 测试1:健康检查 +// 测试1:健康检? async function testHealthCheck(): Promise { const startTime = Date.now(); try { - const response = await axios.get(`${BASE_URL}/api/v2/pkb/health`); + const response = await axios.get(`${BASE_URL}/api/v1/pkb/health`); const duration = Date.now() - startTime; if (response.data.status === 'ok') { return { - name: '健康检查(v2)', + name: '健康检查(v2?, status: 'pass', message: `知识库数: ${response.data.database.knowledgeBases}, schema: ${response.data.database.schema}`, duration, }; } else { return { - name: '健康检查(v2)', + name: '健康检查(v2?, status: 'fail', - message: '返回状态异常', + message: '返回状态异?, duration, }; } } catch (error: any) { return { - name: '健康检查(v2)', + name: '健康检查(v2?, status: 'fail', message: error.message, duration: Date.now() - startTime, @@ -54,7 +54,7 @@ async function testHealthCheck(): Promise { } } -// 测试2:获取知识库列表(v1 vs v2) +// 测试2:获取知识库列表(v1 vs v2? async function testGetKnowledgeBases(): Promise { try { const startV1 = Date.now(); @@ -62,7 +62,7 @@ async function testGetKnowledgeBases(): Promise { const v1Duration = Date.now() - startV1; const startV2 = Date.now(); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases`); + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases`); const v2Duration = Date.now() - startV2; const v1Count = v1Response.data.data?.length || 0; @@ -70,14 +70,14 @@ async function testGetKnowledgeBases(): Promise { if (v1Count === v2Count) { return { - name: '获取知识库列表(v1 vs v2)', + name: '获取知识库列表(v1 vs v2?, status: 'pass', - message: `v1: ${v1Count}个 (${v1Duration}ms), v2: ${v2Count}个 (${v2Duration}ms) ✅`, + message: `v1: ${v1Count}?(${v1Duration}ms), v2: ${v2Count}?(${v2Duration}ms) ✅`, duration: v1Duration + v2Duration, }; } else { return { - name: '获取知识库列表(v1 vs v2)', + name: '获取知识库列表(v1 vs v2?, status: 'fail', message: `数量不一致!v1: ${v1Count}, v2: ${v2Count}`, duration: v1Duration + v2Duration, @@ -85,14 +85,14 @@ async function testGetKnowledgeBases(): Promise { } } catch (error: any) { return { - name: '获取知识库列表(v1 vs v2)', + name: '获取知识库列表(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 测试3:获取知识库详情(v1 vs v2) +// 测试3:获取知识库详情(v1 vs v2? async function testGetKnowledgeBaseById(kbId: string): Promise { try { const startV1 = Date.now(); @@ -100,7 +100,7 @@ async function testGetKnowledgeBaseById(kbId: string): Promise { const v1Duration = Date.now() - startV1; const startV2 = Date.now(); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}`); + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}`); const v2Duration = Date.now() - startV2; const v1Name = v1Response.data.data?.name; @@ -108,14 +108,14 @@ async function testGetKnowledgeBaseById(kbId: string): Promise { if (v1Name === v2Name) { return { - name: '获取知识库详情(v1 vs v2)', + name: '获取知识库详情(v1 vs v2?, status: 'pass', - message: `名称一致: "${v1Name}", v1: ${v1Duration}ms, v2: ${v2Duration}ms ✅`, + message: `名称一? "${v1Name}", v1: ${v1Duration}ms, v2: ${v2Duration}ms ✅`, duration: v1Duration + v2Duration, }; } else { return { - name: '获取知识库详情(v1 vs v2)', + name: '获取知识库详情(v1 vs v2?, status: 'fail', message: `名称不一致!v1: "${v1Name}", v2: "${v2Name}"`, duration: v1Duration + v2Duration, @@ -123,52 +123,52 @@ async function testGetKnowledgeBaseById(kbId: string): Promise { } } catch (error: any) { return { - name: '获取知识库详情(v1 vs v2)', + name: '获取知识库详情(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 测试4:获取知识库统计(v1 vs v2) +// 测试4:获取知识库统计(v1 vs v2? async function testGetKnowledgeBaseStats(kbId: string): Promise { try { const v1Response = await axios.get(`${BASE_URL}/api/v1/knowledge-bases/${kbId}/stats`); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}/stats`); + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}/stats`); const v1Docs = v1Response.data.data.totalDocuments; const v2Docs = v2Response.data.data.totalDocuments; if (v1Docs === v2Docs) { return { - name: '获取知识库统计(v1 vs v2)', + name: '获取知识库统计(v1 vs v2?, status: 'pass', - message: `文档数一致: ${v1Docs}个 ✅`, + message: `文档数一? ${v1Docs}?✅`, }; } else { return { - name: '获取知识库统计(v1 vs v2)', + name: '获取知识库统计(v1 vs v2?, status: 'fail', message: `文档数不一致!v1: ${v1Docs}, v2: ${v2Docs}`, }; } } catch (error: any) { return { - name: '获取知识库统计(v1 vs v2)', + name: '获取知识库统计(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 测试5:RAG检索(v1 vs v2) +// 测试5:RAG检索(v1 vs v2? async function testSearchKnowledgeBase(kbId: string): Promise { try { const query = '治疗'; const v1Response = await axios.get(`${BASE_URL}/api/v1/knowledge-bases/${kbId}/search`, { params: { query, top_k: 3 }, }); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}/search`, { + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}/search`, { params: { query, top_k: 3 }, }); @@ -176,13 +176,13 @@ async function testSearchKnowledgeBase(kbId: string): Promise { const v2Count = v2Response.data.data?.records?.length || 0; return { - name: 'RAG检索(v1 vs v2)', + name: 'RAG检索(v1 vs v2?, status: 'pass', - message: `v1返回${v1Count}条, v2返回${v2Count}条 ✅`, + message: `v1返回${v1Count}? v2返回${v2Count}?✅`, }; } catch (error: any) { return { - name: 'RAG检索(v1 vs v2)', + name: 'RAG检索(v1 vs v2?, status: 'fail', message: error.message, }; @@ -195,7 +195,7 @@ async function testDocumentSelection(kbId: string): Promise { const v1Response = await axios.get(`${BASE_URL}/api/v1/knowledge-bases/${kbId}/document-selection`, { params: { max_files: 5, max_tokens: 100000 }, }); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}/document-selection`, { + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}/document-selection`, { params: { max_files: 5, max_tokens: 100000 }, }); @@ -203,13 +203,13 @@ async function testDocumentSelection(kbId: string): Promise { const v2Docs = v2Response.data.data?.selectedDocuments?.length || 0; return { - name: '文档选择-全文阅读模式(v1 vs v2)', + name: '文档选择-全文阅读模式(v1 vs v2?, status: 'pass', - message: `v1选择${v1Docs}个文档, v2选择${v2Docs}个文档 ✅`, + message: `v1选择${v1Docs}个文? v2选择${v2Docs}个文?✅`, }; } catch (error: any) { return { - name: '文档选择-全文阅读模式(v1 vs v2)', + name: '文档选择-全文阅读模式(v1 vs v2?, status: 'fail', message: error.message, }; @@ -220,32 +220,32 @@ async function testDocumentSelection(kbId: string): Promise { async function testBatchTemplates(): Promise { try { const v1Response = await axios.get(`${BASE_URL}/api/v1/batch/templates`); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/batch-tasks/batch/templates`); + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/batch-tasks/batch/templates`); const v1Count = v1Response.data.data?.length || 0; const v2Count = v2Response.data.data?.length || 0; return { - name: '批处理模板(v1 vs v2)', + name: '批处理模板(v1 vs v2?, status: 'pass', - message: `v1: ${v1Count}个模板, v2: ${v2Count}个模板 ✅`, + message: `v1: ${v1Count}个模? v2: ${v2Count}个模?✅`, }; } catch (error: any) { return { - name: '批处理模板(v1 vs v2)', + name: '批处理模板(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 主测试函数 +// 主测试函? async function runTests() { - console.log('🚀 PKB API测试开始...\n'); + console.log('🚀 PKB API测试开?..\n'); console.log('='.repeat(80)); - // 测试1:健康检查 - console.log('\n📋 测试1:健康检查'); + // 测试1:健康检? + console.log('\n📋 测试1:健康检?); console.log('-'.repeat(80)); results.push(await testHealthCheck()); printResult(results[results.length - 1]); @@ -257,16 +257,16 @@ async function runTests() { printResult(results[results.length - 1]); // 获取第一个知识库ID用于后续测试 - const kbListResponse = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases`); + const kbListResponse = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases`); const firstKb = kbListResponse.data.data?.[0]; if (!firstKb) { - console.log('\n❌ 没有可用的知识库,后续测试跳过'); + console.log('\n?没有可用的知识库,后续测试跳?); return; } const kbId = firstKb.id; - console.log(`\n使用知识库: ${firstKb.name} (ID: ${kbId})`); + console.log(`\n使用知识? ${firstKb.name} (ID: ${kbId})`); // 测试3:获取知识库详情 console.log('\n📋 测试3:知识库详情'); @@ -280,8 +280,8 @@ async function runTests() { results.push(await testGetKnowledgeBaseStats(kbId)); printResult(results[results.length - 1]); - // 测试5:RAG检索 - console.log('\n📋 测试5:RAG检索'); + // 测试5:RAG检? + console.log('\n📋 测试5:RAG检?); console.log('-'.repeat(80)); results.push(await testSearchKnowledgeBase(kbId)); printResult(results[results.length - 1]); @@ -308,8 +308,8 @@ async function runTests() { const totalDuration = results.reduce((sum, r) => sum + (r.duration || 0), 0); console.log(`\n总计: ${results.length}个测试`); - console.log(`✅ 通过: ${passCount}个`); - console.log(`❌ 失败: ${failCount}个`); + console.log(`?通过: ${passCount}个`); + console.log(`?失败: ${failCount}个`); console.log(`⏱️ 总耗时: ${totalDuration}ms`); if (failCount === 0) { @@ -320,7 +320,7 @@ async function runTests() { } runTests().catch(error => { - console.error('❌ 测试执行失败:', error); + console.error('?测试执行失败:', error); process.exit(1); }); @@ -336,3 +336,4 @@ runTests().catch(error => { + diff --git a/backend/scripts/test-pkb-apis.ts b/backend/scripts/test-pkb-apis.ts index 1acab8f3..446c7cd2 100644 --- a/backend/scripts/test-pkb-apis.ts +++ b/backend/scripts/test-pkb-apis.ts @@ -1,21 +1,15 @@ /** - * PKB模块API自动化测试脚本 - * - * 功能: - * 1. 测试所有PKB API端点(v1和v2) - * 2. 对比v1和v2的返回结果 - * 3. 验证数据一致性 - * 4. 性能对比 + * PKB模块API自动化测试脚? * + * 功能? * 1. 测试所有PKB API端点(v1和v2? * 2. 对比v1和v2的返回结? * 3. 验证数据一致? * 4. 性能对比 * 5. 边界条件测试 * - * 运行方式: - * npx tsx scripts/test-pkb-apis.ts + * 运行方式? * npx tsx scripts/test-pkb-apis.ts */ import axios, { AxiosError } from 'axios'; const BASE_URL = 'http://localhost:3000'; -const TEST_KB_NAME = `测试知识库-${Date.now()}`; +const TEST_KB_NAME = `测试知识?${Date.now()}`; interface TestResult { name: string; @@ -29,45 +23,42 @@ interface TestResult { const results: TestResult[] = []; let testKbId: string | null = null; -// 工具函数:比较两个响应是否一致 -function compareResponses(v1: any, v2: any): boolean { +// 工具函数:比较两个响应是否一?function compareResponses(v1: any, v2: any): boolean { return JSON.stringify(v1) === JSON.stringify(v2); } -// 工具函数:打印测试结果 -function printResult(result: TestResult) { - const icon = result.status === 'pass' ? '✅' : result.status === 'fail' ? '❌' : '⏭️'; +// 工具函数:打印测试结?function printResult(result: TestResult) { + const icon = result.status === 'pass' ? '? : result.status === 'fail' ? '? : '⏭️'; console.log(`${icon} ${result.name} ${result.duration ? `(${result.duration}ms)` : ''}`); if (result.message) { console.log(` ${result.message}`); } } -// 测试1:健康检查 -async function testHealthCheck(): Promise { +// 测试1:健康检?async function testHealthCheck(): Promise { const startTime = Date.now(); try { - const response = await axios.get(`${BASE_URL}/api/v2/pkb/health`); + const response = await axios.get(`${BASE_URL}/api/v1/pkb/health`); const duration = Date.now() - startTime; if (response.data.status === 'ok' && response.data.module === 'pkb' && response.data.version === 'v2') { return { - name: '健康检查', + name: '健康检?, status: 'pass', - message: `状态: ${response.data.status}, 知识库数: ${response.data.database.knowledgeBases}`, + message: `状? ${response.data.status}, 知识库数: ${response.data.database.knowledgeBases}`, duration, }; } else { return { - name: '健康检查', + name: '健康检?, status: 'fail', - message: '返回数据格式不正确', + message: '返回数据格式不正?, duration, }; } } catch (error: any) { return { - name: '健康检查', + name: '健康检?, status: 'fail', message: error.message, duration: Date.now() - startTime, @@ -75,15 +66,14 @@ async function testHealthCheck(): Promise { } } -// 测试2:获取知识库列表(对比v1和v2) -async function testGetKnowledgeBases(): Promise { +// 测试2:获取知识库列表(对比v1和v2?async function testGetKnowledgeBases(): Promise { try { const startV1 = Date.now(); const v1Response = await axios.get(`${BASE_URL}/api/v1/knowledge-bases`); const v1Duration = Date.now() - startV1; const startV2 = Date.now(); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases`); + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases`); const v2Duration = Date.now() - startV2; const v1Count = v1Response.data.data?.length || 0; @@ -91,35 +81,34 @@ async function testGetKnowledgeBases(): Promise { if (v1Count === v2Count) { return { - name: '获取知识库列表(v1 vs v2)', + name: '获取知识库列表(v1 vs v2?, status: 'pass', - message: `v1: ${v1Count}个 (${v1Duration}ms), v2: ${v2Count}个 (${v2Duration}ms), 数据一致✅`, + message: `v1: ${v1Count}?(${v1Duration}ms), v2: ${v2Count}?(${v2Duration}ms), 数据一致✅`, duration: v1Duration + v2Duration, v1Response: v1Response.data, v2Response: v2Response.data, }; } else { return { - name: '获取知识库列表(v1 vs v2)', + name: '获取知识库列表(v1 vs v2?, status: 'fail', - message: `数量不一致!v1: ${v1Count}个, v2: ${v2Count}个`, + message: `数量不一致!v1: ${v1Count}? v2: ${v2Count}个`, duration: v1Duration + v2Duration, }; } } catch (error: any) { return { - name: '获取知识库列表(v1 vs v2)', + name: '获取知识库列表(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 测试3:创建知识库(v2) -async function testCreateKnowledgeBase(): Promise { +// 测试3:创建知识库(v2?async function testCreateKnowledgeBase(): Promise { const startTime = Date.now(); try { - const response = await axios.post(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases`, { + const response = await axios.post(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases`, { name: TEST_KB_NAME, description: '这是一个自动化测试创建的知识库', }, { @@ -132,14 +121,14 @@ async function testCreateKnowledgeBase(): Promise { if (response.data.success && response.data.data.id) { testKbId = response.data.data.id; return { - name: '创建知识库(v2)', + name: '创建知识库(v2?, status: 'pass', message: `成功创建,ID: ${testKbId}`, duration, }; } else { return { - name: '创建知识库(v2)', + name: '创建知识库(v2?, status: 'fail', message: '创建失败或返回格式不正确', duration, @@ -150,7 +139,7 @@ async function testCreateKnowledgeBase(): Promise { JSON.stringify(error.response.data) : (error.response?.data?.message || error.message); return { - name: '创建知识库(v2)', + name: '创建知识库(v2?, status: 'fail', message: errorDetail, duration: Date.now() - startTime, @@ -158,15 +147,14 @@ async function testCreateKnowledgeBase(): Promise { } } -// 测试4:获取知识库详情(对比v1和v2) -async function testGetKnowledgeBaseById(kbId: string): Promise { +// 测试4:获取知识库详情(对比v1和v2?async function testGetKnowledgeBaseById(kbId: string): Promise { try { const startV1 = Date.now(); const v1Response = await axios.get(`${BASE_URL}/api/v1/knowledge-bases/${kbId}`); const v1Duration = Date.now() - startV1; const startV2 = Date.now(); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}`); + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}`); const v2Duration = Date.now() - startV2; const v1Name = v1Response.data.data?.name; @@ -174,14 +162,14 @@ async function testGetKnowledgeBaseById(kbId: string): Promise { if (v1Name === v2Name) { return { - name: '获取知识库详情(v1 vs v2)', + name: '获取知识库详情(v1 vs v2?, status: 'pass', - message: `v1: ${v1Duration}ms, v2: ${v2Duration}ms, 名称一致: "${v1Name}"✅`, + message: `v1: ${v1Duration}ms, v2: ${v2Duration}ms, 名称一? "${v1Name}"✅`, duration: v1Duration + v2Duration, }; } else { return { - name: '获取知识库详情(v1 vs v2)', + name: '获取知识库详情(v1 vs v2?, status: 'fail', message: `名称不一致!v1: "${v1Name}", v2: "${v2Name}"`, duration: v1Duration + v2Duration, @@ -189,33 +177,32 @@ async function testGetKnowledgeBaseById(kbId: string): Promise { } } catch (error: any) { return { - name: '获取知识库详情(v1 vs v2)', + name: '获取知识库详情(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 测试5:更新知识库(v2) -async function testUpdateKnowledgeBase(kbId: string): Promise { +// 测试5:更新知识库(v2?async function testUpdateKnowledgeBase(kbId: string): Promise { const startTime = Date.now(); try { - const response = await axios.put(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}`, { + const response = await axios.put(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}`, { name: `${TEST_KB_NAME}-已更新`, - description: '描述已更新', + description: '描述已更?, }); const duration = Date.now() - startTime; if (response.data.success) { return { - name: '更新知识库(v2)', + name: '更新知识库(v2?, status: 'pass', message: '更新成功', duration, }; } else { return { - name: '更新知识库(v2)', + name: '更新知识库(v2?, status: 'fail', message: '更新失败', duration, @@ -223,7 +210,7 @@ async function testUpdateKnowledgeBase(kbId: string): Promise { } } catch (error: any) { return { - name: '更新知识库(v2)', + name: '更新知识库(v2?, status: 'fail', message: error.response?.data?.message || error.message, duration: Date.now() - startTime, @@ -231,66 +218,63 @@ async function testUpdateKnowledgeBase(kbId: string): Promise { } } -// 测试6:获取知识库统计(对比v1和v2) -async function testGetKnowledgeBaseStats(kbId: string): Promise { +// 测试6:获取知识库统计(对比v1和v2?async function testGetKnowledgeBaseStats(kbId: string): Promise { try { const v1Response = await axios.get(`${BASE_URL}/api/v1/knowledge-bases/${kbId}/stats`); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}/stats`); + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}/stats`); const v1Stats = v1Response.data.data; const v2Stats = v2Response.data.data; if (v1Stats.totalDocuments === v2Stats.totalDocuments) { return { - name: '获取知识库统计(v1 vs v2)', + name: '获取知识库统计(v1 vs v2?, status: 'pass', - message: `文档数一致: ${v1Stats.totalDocuments}个✅`, + message: `文档数一? ${v1Stats.totalDocuments}个✅`, }; } else { return { - name: '获取知识库统计(v1 vs v2)', + name: '获取知识库统计(v1 vs v2?, status: 'fail', message: `文档数不一致!v1: ${v1Stats.totalDocuments}, v2: ${v2Stats.totalDocuments}`, }; } } catch (error: any) { return { - name: '获取知识库统计(v1 vs v2)', + name: '获取知识库统计(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 测试7:RAG检索(对比v1和v2) -async function testSearchKnowledgeBase(kbId: string): Promise { +// 测试7:RAG检索(对比v1和v2?async function testSearchKnowledgeBase(kbId: string): Promise { try { const query = '测试查询'; const v1Response = await axios.get(`${BASE_URL}/api/v1/knowledge-bases/${kbId}/search`, { params: { query, top_k: 5 }, }); - const v2Response = await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}/search`, { + const v2Response = await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}/search`, { params: { query, top_k: 5 }, }); return { - name: 'RAG检索(v1 vs v2)', + name: 'RAG检索(v1 vs v2?, status: 'pass', message: '检索成功,两个版本都返回了结果', }; } catch (error: any) { return { - name: 'RAG检索(v1 vs v2)', + name: 'RAG检索(v1 vs v2?, status: 'fail', message: error.message, }; } } -// 测试8:边界条件 - 不存在的知识库 -async function testNotFoundKnowledgeBase(): Promise { +// 测试8:边界条?- 不存在的知识?async function testNotFoundKnowledgeBase(): Promise { try { - await axios.get(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/00000000-0000-0000-0000-000000000000`); + await axios.get(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/00000000-0000-0000-0000-000000000000`); return { name: '边界测试:不存在的知识库', status: 'fail', @@ -301,7 +285,7 @@ async function testNotFoundKnowledgeBase(): Promise { return { name: '边界测试:不存在的知识库', status: 'pass', - message: `正确返回错误状态: ${error.response.status}✅`, + message: `正确返回错误状? ${error.response.status}✅`, }; } else { return { @@ -313,23 +297,22 @@ async function testNotFoundKnowledgeBase(): Promise { } } -// 测试9:清理 - 删除测试知识库 -async function testDeleteKnowledgeBase(kbId: string): Promise { +// 测试9:清?- 删除测试知识?async function testDeleteKnowledgeBase(kbId: string): Promise { const startTime = Date.now(); try { - const response = await axios.delete(`${BASE_URL}/api/v2/pkb/knowledge/knowledge-bases/${kbId}`); + const response = await axios.delete(`${BASE_URL}/api/v1/pkb/knowledge/knowledge-bases/${kbId}`); const duration = Date.now() - startTime; if (response.data.success) { return { - name: '删除知识库(v2)', + name: '删除知识库(v2?, status: 'pass', message: '删除成功', duration, }; } else { return { - name: '删除知识库(v2)', + name: '删除知识库(v2?, status: 'fail', message: '删除失败', duration, @@ -337,7 +320,7 @@ async function testDeleteKnowledgeBase(kbId: string): Promise { } } catch (error: any) { return { - name: '删除知识库(v2)', + name: '删除知识库(v2?, status: 'fail', message: error.response?.data?.message || error.message, duration: Date.now() - startTime, @@ -345,13 +328,11 @@ async function testDeleteKnowledgeBase(kbId: string): Promise { } } -// 主测试函数 -async function runTests() { - console.log('🚀 开始PKB API自动化测试...\n'); +// 主测试函?async function runTests() { + console.log('🚀 开始PKB API自动化测?..\n'); console.log('='.repeat(80)); - // 测试1:健康检查 - console.log('\n📋 阶段1:健康检查'); + // 测试1:健康检? console.log('\n📋 阶段1:健康检?); console.log('-'.repeat(80)); results.push(await testHealthCheck()); printResult(results[results.length - 1]); @@ -369,7 +350,7 @@ async function runTests() { printResult(results[results.length - 1]); if (!testKbId) { - console.log('\n❌ 无法获取测试知识库ID,后续测试跳过'); + console.log('\n?无法获取测试知识库ID,后续测试跳?); return; } @@ -385,26 +366,22 @@ async function runTests() { results.push(await testUpdateKnowledgeBase(testKbId)); printResult(results[results.length - 1]); - // 测试6:获取统计信息 - console.log('\n📋 阶段6:知识库统计'); + // 测试6:获取统计信? console.log('\n📋 阶段6:知识库统计'); console.log('-'.repeat(80)); results.push(await testGetKnowledgeBaseStats(testKbId)); printResult(results[results.length - 1]); - // 测试7:RAG检索 - console.log('\n📋 阶段7:RAG检索'); + // 测试7:RAG检? console.log('\n📋 阶段7:RAG检?); console.log('-'.repeat(80)); results.push(await testSearchKnowledgeBase(testKbId)); printResult(results[results.length - 1]); - // 测试8:边界条件 - console.log('\n📋 阶段8:边界条件测试'); + // 测试8:边界条? console.log('\n📋 阶段8:边界条件测?); console.log('-'.repeat(80)); results.push(await testNotFoundKnowledgeBase()); printResult(results[results.length - 1]); - // 测试9:清理 - console.log('\n📋 阶段9:清理测试数据'); + // 测试9:清? console.log('\n📋 阶段9:清理测试数?); console.log('-'.repeat(80)); results.push(await testDeleteKnowledgeBase(testKbId)); printResult(results[results.length - 1]); @@ -420,13 +397,13 @@ async function runTests() { const totalDuration = results.reduce((sum, r) => sum + (r.duration || 0), 0); console.log(`\n总计: ${results.length}个测试`); - console.log(`✅ 通过: ${passCount}个`); - console.log(`❌ 失败: ${failCount}个`); + console.log(`?通过: ${passCount}个`); + console.log(`?失败: ${failCount}个`); console.log(`⏭️ 跳过: ${skipCount}个`); console.log(`⏱️ 总耗时: ${totalDuration}ms`); if (failCount === 0) { - console.log('\n🎉 所有测试通过!'); + console.log('\n🎉 所有测试通过?); } else { console.log('\n⚠️ 部分测试失败,请查看详情'); } @@ -434,7 +411,7 @@ async function runTests() { // 执行测试 runTests().catch(error => { - console.error('❌ 测试执行失败:', error); + console.error('?测试执行失败:', error); process.exit(1); }); diff --git a/backend/scripts/test-prompt-api.ts b/backend/scripts/test-prompt-api.ts index 8715bc79..20dc9daa 100644 --- a/backend/scripts/test-prompt-api.ts +++ b/backend/scripts/test-prompt-api.ts @@ -82,3 +82,4 @@ testAPI().catch(console.error); + diff --git a/backend/scripts/verify-pkb-rvw-schema.ts b/backend/scripts/verify-pkb-rvw-schema.ts index 19f8caa4..f737c682 100644 --- a/backend/scripts/verify-pkb-rvw-schema.ts +++ b/backend/scripts/verify-pkb-rvw-schema.ts @@ -301,3 +301,4 @@ verifySchemas() + diff --git a/backend/src/modules/admin/routes/tenantRoutes.ts b/backend/src/modules/admin/routes/tenantRoutes.ts index d891d499..f5fb7401 100644 --- a/backend/src/modules/admin/routes/tenantRoutes.ts +++ b/backend/src/modules/admin/routes/tenantRoutes.ts @@ -78,3 +78,4 @@ export async function moduleRoutes(fastify: FastifyInstance) { + diff --git a/backend/src/modules/admin/types/tenant.types.ts b/backend/src/modules/admin/types/tenant.types.ts index b1856cb4..6abe26dd 100644 --- a/backend/src/modules/admin/types/tenant.types.ts +++ b/backend/src/modules/admin/types/tenant.types.ts @@ -108,3 +108,4 @@ export interface PaginatedResponse { + diff --git a/backend/src/modules/asl/fulltext-screening/__tests__/api-integration-test.ts b/backend/src/modules/asl/fulltext-screening/__tests__/api-integration-test.ts index ba676aec..815bbb54 100644 --- a/backend/src/modules/asl/fulltext-screening/__tests__/api-integration-test.ts +++ b/backend/src/modules/asl/fulltext-screening/__tests__/api-integration-test.ts @@ -355,5 +355,6 @@ runTests().catch((error) => { + diff --git a/backend/src/modules/asl/fulltext-screening/__tests__/e2e-real-test-v2.ts b/backend/src/modules/asl/fulltext-screening/__tests__/e2e-real-test-v2.ts index 890f5c19..35575354 100644 --- a/backend/src/modules/asl/fulltext-screening/__tests__/e2e-real-test-v2.ts +++ b/backend/src/modules/asl/fulltext-screening/__tests__/e2e-real-test-v2.ts @@ -296,5 +296,6 @@ runTest() + diff --git a/backend/src/modules/asl/fulltext-screening/__tests__/fulltext-screening-api.http b/backend/src/modules/asl/fulltext-screening/__tests__/fulltext-screening-api.http index 0d96327a..712c71ba 100644 --- a/backend/src/modules/asl/fulltext-screening/__tests__/fulltext-screening-api.http +++ b/backend/src/modules/asl/fulltext-screening/__tests__/fulltext-screening-api.http @@ -334,5 +334,6 @@ Content-Type: application/json + diff --git a/backend/src/modules/dc/tool-b/services/ConflictDetectionService.ts b/backend/src/modules/dc/tool-b/services/ConflictDetectionService.ts index 8d04450f..063a818a 100644 --- a/backend/src/modules/dc/tool-b/services/ConflictDetectionService.ts +++ b/backend/src/modules/dc/tool-b/services/ConflictDetectionService.ts @@ -270,5 +270,6 @@ export const conflictDetectionService = new ConflictDetectionService(); + diff --git a/backend/src/modules/dc/tool-c/README.md b/backend/src/modules/dc/tool-c/README.md index 6f016a59..f16379fb 100644 --- a/backend/src/modules/dc/tool-c/README.md +++ b/backend/src/modules/dc/tool-c/README.md @@ -220,5 +220,6 @@ curl -X POST http://localhost:3000/api/v1/dc/tool-c/test/execute \ + diff --git a/backend/src/modules/dc/tool-c/controllers/StreamAIController.ts b/backend/src/modules/dc/tool-c/controllers/StreamAIController.ts index a71f2090..16e7adc4 100644 --- a/backend/src/modules/dc/tool-c/controllers/StreamAIController.ts +++ b/backend/src/modules/dc/tool-c/controllers/StreamAIController.ts @@ -274,5 +274,6 @@ export const streamAIController = new StreamAIController(); + diff --git a/backend/src/modules/iit-manager/agents/SessionMemory.ts b/backend/src/modules/iit-manager/agents/SessionMemory.ts index 27553de9..6a148aa2 100644 --- a/backend/src/modules/iit-manager/agents/SessionMemory.ts +++ b/backend/src/modules/iit-manager/agents/SessionMemory.ts @@ -185,3 +185,4 @@ logger.info('[SessionMemory] 会话记忆管理器已启动', { + diff --git a/backend/src/modules/iit-manager/check-iit-table-structure.ts b/backend/src/modules/iit-manager/check-iit-table-structure.ts index 9756b9c2..40f201ad 100644 --- a/backend/src/modules/iit-manager/check-iit-table-structure.ts +++ b/backend/src/modules/iit-manager/check-iit-table-structure.ts @@ -119,3 +119,4 @@ checkTableStructure(); + diff --git a/backend/src/modules/iit-manager/check-project-config.ts b/backend/src/modules/iit-manager/check-project-config.ts index c84073a7..202ed155 100644 --- a/backend/src/modules/iit-manager/check-project-config.ts +++ b/backend/src/modules/iit-manager/check-project-config.ts @@ -106,3 +106,4 @@ checkProjectConfig().catch(console.error); + diff --git a/backend/src/modules/iit-manager/check-test-project-in-db.ts b/backend/src/modules/iit-manager/check-test-project-in-db.ts index e4893bee..19ee4536 100644 --- a/backend/src/modules/iit-manager/check-test-project-in-db.ts +++ b/backend/src/modules/iit-manager/check-test-project-in-db.ts @@ -88,3 +88,4 @@ main(); + diff --git a/backend/src/modules/iit-manager/docs/微信服务号接入指南.md b/backend/src/modules/iit-manager/docs/微信服务号接入指南.md index 5c842d0f..a2fafeb4 100644 --- a/backend/src/modules/iit-manager/docs/微信服务号接入指南.md +++ b/backend/src/modules/iit-manager/docs/微信服务号接入指南.md @@ -545,3 +545,4 @@ URL: https://iit.xunzhengyixue.com/api/v1/iit/patient-wechat/callback + diff --git a/backend/src/modules/iit-manager/generate-wechat-tokens.ts b/backend/src/modules/iit-manager/generate-wechat-tokens.ts index 0927b64c..8fe11cdb 100644 --- a/backend/src/modules/iit-manager/generate-wechat-tokens.ts +++ b/backend/src/modules/iit-manager/generate-wechat-tokens.ts @@ -180,3 +180,4 @@ console.log(''); + diff --git a/backend/src/modules/iit-manager/services/PatientWechatService.ts b/backend/src/modules/iit-manager/services/PatientWechatService.ts index e95a23ad..6c91b11d 100644 --- a/backend/src/modules/iit-manager/services/PatientWechatService.ts +++ b/backend/src/modules/iit-manager/services/PatientWechatService.ts @@ -497,3 +497,4 @@ export const patientWechatService = new PatientWechatService(); + diff --git a/backend/src/modules/iit-manager/test-chatservice-dify.ts b/backend/src/modules/iit-manager/test-chatservice-dify.ts index e976b512..2cf6de51 100644 --- a/backend/src/modules/iit-manager/test-chatservice-dify.ts +++ b/backend/src/modules/iit-manager/test-chatservice-dify.ts @@ -142,3 +142,4 @@ testDifyIntegration().catch(error => { + diff --git a/backend/src/modules/iit-manager/test-iit-database.ts b/backend/src/modules/iit-manager/test-iit-database.ts index 2510b0f9..d08f0a44 100644 --- a/backend/src/modules/iit-manager/test-iit-database.ts +++ b/backend/src/modules/iit-manager/test-iit-database.ts @@ -169,5 +169,6 @@ testIitDatabase() + diff --git a/backend/src/modules/iit-manager/test-patient-wechat-config.ts b/backend/src/modules/iit-manager/test-patient-wechat-config.ts index c479eb0c..3aeed8ec 100644 --- a/backend/src/modules/iit-manager/test-patient-wechat-config.ts +++ b/backend/src/modules/iit-manager/test-patient-wechat-config.ts @@ -157,3 +157,4 @@ if (hasError) { + diff --git a/backend/src/modules/iit-manager/test-patient-wechat-url-verify.ts b/backend/src/modules/iit-manager/test-patient-wechat-url-verify.ts index b39fdba1..e4545e3c 100644 --- a/backend/src/modules/iit-manager/test-patient-wechat-url-verify.ts +++ b/backend/src/modules/iit-manager/test-patient-wechat-url-verify.ts @@ -183,3 +183,4 @@ async function testUrlVerification() { + diff --git a/backend/src/modules/iit-manager/test-redcap-query-from-db.ts b/backend/src/modules/iit-manager/test-redcap-query-from-db.ts index 113d5478..b3f5a6eb 100644 --- a/backend/src/modules/iit-manager/test-redcap-query-from-db.ts +++ b/backend/src/modules/iit-manager/test-redcap-query-from-db.ts @@ -264,3 +264,4 @@ main().catch((error) => { + diff --git a/backend/src/modules/iit-manager/test-wechat-mp-local.ps1 b/backend/src/modules/iit-manager/test-wechat-mp-local.ps1 index de8cda36..b1f773a0 100644 --- a/backend/src/modules/iit-manager/test-wechat-mp-local.ps1 +++ b/backend/src/modules/iit-manager/test-wechat-mp-local.ps1 @@ -148,3 +148,4 @@ Write-Host "" + diff --git a/backend/src/modules/iit-manager/types/index.ts b/backend/src/modules/iit-manager/types/index.ts index 5fe19fde..d168ccce 100644 --- a/backend/src/modules/iit-manager/types/index.ts +++ b/backend/src/modules/iit-manager/types/index.ts @@ -239,5 +239,6 @@ export interface CachedProtocolRules { + diff --git a/backend/src/tests/README.md b/backend/src/tests/README.md index d26bc561..2abb467c 100644 --- a/backend/src/tests/README.md +++ b/backend/src/tests/README.md @@ -420,5 +420,6 @@ SET session_replication_role = 'origin'; + diff --git a/backend/src/tests/verify-test1-database.sql b/backend/src/tests/verify-test1-database.sql index 386d7a42..da8ed20b 100644 --- a/backend/src/tests/verify-test1-database.sql +++ b/backend/src/tests/verify-test1-database.sql @@ -122,5 +122,6 @@ WHERE key = 'verify_test'; + diff --git a/backend/src/tests/verify-test1-database.ts b/backend/src/tests/verify-test1-database.ts index 14f3b94e..7613a3cc 100644 --- a/backend/src/tests/verify-test1-database.ts +++ b/backend/src/tests/verify-test1-database.ts @@ -265,5 +265,6 @@ verifyDatabase() + diff --git a/backend/src/types/global.d.ts b/backend/src/types/global.d.ts index 457e77f0..5765f7c8 100644 --- a/backend/src/types/global.d.ts +++ b/backend/src/types/global.d.ts @@ -55,5 +55,6 @@ export {} + diff --git a/backend/sync-dc-database.ps1 b/backend/sync-dc-database.ps1 index 889349ac..29722012 100644 --- a/backend/sync-dc-database.ps1 +++ b/backend/sync-dc-database.ps1 @@ -78,5 +78,6 @@ Write-Host "✅ 完成!" -ForegroundColor Green + diff --git a/backend/temp_check.sql b/backend/temp_check.sql index 8feebae5..497b9d39 100644 --- a/backend/temp_check.sql +++ b/backend/temp_check.sql @@ -5,3 +5,4 @@ SELECT schema_name FROM information_schema.schemata WHERE schema_name NOT IN ('p + diff --git a/backend/test-pkb-migration.http b/backend/test-pkb-migration.http index 9d300da4..f33236e0 100644 --- a/backend/test-pkb-migration.http +++ b/backend/test-pkb-migration.http @@ -1,33 +1,33 @@ ### # PKB模块迁移 - API测试脚本 -# 测试v1和v2路由的功能完整性和一致性 +# 测试v1和v2路由的功能完整性和一致? ### @baseUrl = http://localhost:3000 @userId = user-mock-001 ### ============================================ -### 阶段3.1: 健康检查 +### 阶段3.1: 健康检? ### ============================================ -### 1. PKB v2健康检查 -GET {{baseUrl}}/api/v2/pkb/health +### 1. PKB v2健康检? +GET {{baseUrl}}/api/v1/pkb/health Accept: application/json ### ============================================ ### 阶段3.2: 知识库CRUD测试 ### ============================================ -### 2. 获取知识库列表(v1) +### 2. 获取知识库列表(v1? GET {{baseUrl}}/api/v1/knowledge-bases Accept: application/json -### 3. 获取知识库列表(v2) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases +### 3. 获取知识库列表(v2? +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases Accept: application/json -### 4. 创建知识库(v2) -POST {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases +### 4. 创建知识库(v2? +POST {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases Content-Type: application/json { @@ -35,7 +35,7 @@ Content-Type: application/json "description": "这是一个通过v2 API创建的测试知识库" } -### 5. 创建知识库(v1 - 对比) +### 5. 创建知识库(v1 - 对比? POST {{baseUrl}}/api/v1/knowledge-bases Content-Type: application/json @@ -44,54 +44,54 @@ Content-Type: application/json "description": "这是一个通过v1 API创建的测试知识库" } -### 6. 获取知识库详情(v2) +### 6. 获取知识库详情(v2? # 替换为实际的知识库ID @kbId = f6ebe476-c50f-4222-83d2-c2525edc6054 -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}} +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}} Accept: application/json -### 7. 获取知识库详情(v1 - 对比) +### 7. 获取知识库详情(v1 - 对比? GET {{baseUrl}}/api/v1/knowledge-bases/{{kbId}} Accept: application/json -### 8. 更新知识库(v2) -PUT {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}} +### 8. 更新知识库(v2? +PUT {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}} Content-Type: application/json { "name": "更新后的知识库名称v2", - "description": "通过v2 API更新的描述" + "description": "通过v2 API更新的描? } -### 9. 获取知识库统计(v2) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}}/stats +### 9. 获取知识库统计(v2? +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}}/stats Accept: application/json -### 10. 获取知识库统计(v1 - 对比) +### 10. 获取知识库统计(v1 - 对比? GET {{baseUrl}}/api/v1/knowledge-bases/{{kbId}}/stats Accept: application/json ### ============================================ -### 阶段3.3: RAG检索测试 +### 阶段3.3: RAG检索测? ### ============================================ -### 11. RAG检索(v2) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}}/search?query=阿尔兹海默症的治疗方法&top_k=5 +### 11. RAG检索(v2? +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}}/search?query=阿尔兹海默症的治疗方?top_k=5 Accept: application/json -### 12. RAG检索(v1 - 对比) -GET {{baseUrl}}/api/v1/knowledge-bases/{{kbId}}/search?query=阿尔兹海默症的治疗方法&top_k=5 +### 12. RAG检索(v1 - 对比? +GET {{baseUrl}}/api/v1/knowledge-bases/{{kbId}}/search?query=阿尔兹海默症的治疗方?top_k=5 Accept: application/json ### ============================================ ### 阶段3.4: 文档选择(全文阅读模式) ### ============================================ -### 13. 获取文档选择(v2) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}}/document-selection?max_files=7&max_tokens=750000 +### 13. 获取文档选择(v2? +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}}/document-selection?max_files=7&max_tokens=750000 Accept: application/json -### 14. 获取文档选择(v1 - 对比) +### 14. 获取文档选择(v1 - 对比? GET {{baseUrl}}/api/v1/knowledge-bases/{{kbId}}/document-selection?max_files=7&max_tokens=750000 Accept: application/json @@ -100,25 +100,25 @@ Accept: application/json ### ============================================ ### 15. 获取文档列表(通过知识库详情) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}} +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}} Accept: application/json -### 16. 获取单个文档详情(v2) +### 16. 获取单个文档详情(v2? # 替换为实际的文档ID @docId = your-document-id -GET {{baseUrl}}/api/v2/pkb/knowledge/documents/{{docId}} +GET {{baseUrl}}/api/v1/pkb/knowledge/documents/{{docId}} Accept: application/json ### ============================================ -### 阶段3.6: 批处理功能测试 +### 阶段3.6: 批处理功能测? ### ============================================ -### 17. 获取批处理模板(v2) -GET {{baseUrl}}/api/v2/pkb/batch-tasks/batch/templates +### 17. 获取批处理模板(v2? +GET {{baseUrl}}/api/v1/pkb/batch-tasks/batch/templates Accept: application/json -### 18. 创建批处理任务(v2) -POST {{baseUrl}}/api/v2/pkb/batch-tasks/batch/execute +### 18. 创建批处理任务(v2? +POST {{baseUrl}}/api/v1/pkb/batch-tasks/batch/execute Content-Type: application/json { @@ -134,25 +134,25 @@ Content-Type: application/json ### 阶段3.7: 边界条件测试 ### ============================================ -### 19. 测试不存在的知识库(v2) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/00000000-0000-0000-0000-000000000000 +### 19. 测试不存在的知识库(v2? +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/00000000-0000-0000-0000-000000000000 Accept: application/json -### 20. 测试无效的查询参数(v2) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}}/search?query=&top_k=0 +### 20. 测试无效的查询参数(v2? +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}}/search?query=&top_k=0 Accept: application/json -### 21. 测试超大top_k参数(v2) -GET {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{kbId}}/search?query=测试&top_k=1000 +### 21. 测试超大top_k参数(v2? +GET {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{kbId}}/search?query=测试&top_k=1000 Accept: application/json ### ============================================ ### 阶段3.8: 清理测试数据(可选) ### ============================================ -### 22. 删除测试知识库(v2) +### 22. 删除测试知识库(v2? # @testKbId = 从创建响应中获取的ID -DELETE {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{testKbId}} +DELETE {{baseUrl}}/api/v1/pkb/knowledge/knowledge-bases/{{testKbId}} ### @@ -168,3 +168,4 @@ DELETE {{baseUrl}}/api/v2/pkb/knowledge/knowledge-bases/{{testKbId}} + diff --git a/backend/test-tool-c-advanced-scenarios.mjs b/backend/test-tool-c-advanced-scenarios.mjs index 9a27a25f..fb837f47 100644 --- a/backend/test-tool-c-advanced-scenarios.mjs +++ b/backend/test-tool-c-advanced-scenarios.mjs @@ -365,5 +365,6 @@ runAdvancedTests().catch(error => { + diff --git a/backend/test-tool-c-day2.mjs b/backend/test-tool-c-day2.mjs index f007820d..3d85b645 100644 --- a/backend/test-tool-c-day2.mjs +++ b/backend/test-tool-c-day2.mjs @@ -431,5 +431,6 @@ runAllTests() + diff --git a/backend/test-tool-c-day3.mjs b/backend/test-tool-c-day3.mjs index f97d5075..e6a0d062 100644 --- a/backend/test-tool-c-day3.mjs +++ b/backend/test-tool-c-day3.mjs @@ -389,5 +389,6 @@ runAllTests() + diff --git a/backend/verify_all_users.ts b/backend/verify_all_users.ts index ffcc21ce..67be9b1e 100644 --- a/backend/verify_all_users.ts +++ b/backend/verify_all_users.ts @@ -25,3 +25,4 @@ main() + diff --git a/backend/verify_functions.ts b/backend/verify_functions.ts index 29c8e1e3..a6d2d780 100644 --- a/backend/verify_functions.ts +++ b/backend/verify_functions.ts @@ -23,3 +23,4 @@ main() + diff --git a/backend/verify_job_common.ts b/backend/verify_job_common.ts index 7e95f335..1205c775 100644 --- a/backend/verify_job_common.ts +++ b/backend/verify_job_common.ts @@ -35,3 +35,4 @@ main() + diff --git a/backend/verify_mock_user.ts b/backend/verify_mock_user.ts index d81766e3..7cedd1a1 100644 --- a/backend/verify_mock_user.ts +++ b/backend/verify_mock_user.ts @@ -24,3 +24,4 @@ main() + diff --git a/backend/verify_system.ts b/backend/verify_system.ts index 8549b33c..ff129992 100644 --- a/backend/verify_system.ts +++ b/backend/verify_system.ts @@ -164,3 +164,4 @@ main() + diff --git a/deploy-to-sae.ps1 b/deploy-to-sae.ps1 index 4baa0846..6967d123 100644 --- a/deploy-to-sae.ps1 +++ b/deploy-to-sae.ps1 @@ -173,5 +173,6 @@ Set-Location .. + diff --git a/earch b/earch new file mode 100644 index 00000000..04bcfda4 --- /dev/null +++ b/earch @@ -0,0 +1,579 @@ +warning: in the working copy of 'docs/00-系统总体设计/00-今日架构设计总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/00-核心问题解答.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/00-阅读指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/03-数据库架构说明.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/04-运营管理端架构设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/05-Schema隔离方案与成本分析.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/06-模块独立部署与单机版方案.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/07-Monorepo架构评估.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/08-架构设计全景图.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/09-总体需求文档(PRD).md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/10-核心业务规则总览.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-系统总体设计/99-下一步行动决策建议.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-项目概述/产品需求文档(PRD).md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-项目概述/技术架构总览.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-项目概述/文档梳理与差异分析.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-项目概述/最新需求与技术方案深度评估.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-项目概述/现有系统技术摸底报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/00-项目概述/设计文档完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/01-用户与权限中心(UAM)/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/02-存储服务/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/03-通知服务/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/04-监控与日志/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/05-系统配置/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/06-前端架构/01-前端总体架构设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/06-前端架构/02-导航结构设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/06-前端架构/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/01-平台基础层/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/01-LLM大模型网关/03-CloseAI集成指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/02-文档处理引擎/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/03-RAG引擎/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/04-数据ETL引擎/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/05-医学NLP引擎/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/Postgres-Only异步任务处理指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/02-通用能力层/通用能力层技术债务清单.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ADMIN-运营管理端/00-Phase3.5完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ADMIN-运营管理端/00-系统设计/00-权限与角色体系梳理报告_v1.0.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ADMIN-运营管理端/02-技术设计/03-Prompt管理系统快速参考.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ADMIN-运营管理端/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ADMIN运营与INST机构管理端-文档体系建立完成.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/AIA-AI智能问答/02-技术设计/01-数据库设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/AIA-AI智能问答/04-开发计划/01-AIA-V2.1开发计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/AIA-AI智能问答/04-开发计划/02-后端API设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/AIA-AI智能问答/04-开发计划/03-前端组件设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/AIA-AI智能问答/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/00-新AI交接文档.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/00-系统设计/01-系统架构设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/00-系统设计/02-模块关联关系设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/00-系统设计/03-数据流设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/00-系统设计/04-技术选型说明.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/01-需求分析/01-需求总览.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/01-需求分析/02-标题摘要初筛需求详述.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/01-需求分析/03-全文复筛需求详述.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/01-需求分析/04-用户故事和验收标准.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/01-需求分析/05-非功能性需求.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/02-技术设计/03-前端组件设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/02-技术设计/04-AI模型集成设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/02-技术设计/05-文件处理设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/02-技术设计/06-质量保障与可追溯策略.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/02-技术设计/07-文献处理技术选型.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/02-技术设计/07-智能Prompt生成模块开发计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/02-技术设计/08-全文复筛质量保障策略.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/03-UI设计/01-标题摘要初筛UI设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/03-UI设计/02-全文复筛UI设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/03-UI设计/03-设计规范.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/04-开发计划/04-Week4-结果展示与导出开发计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/04-开发计划/05-全文复筛前端开发计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/04-开发计划/全文复筛开发计划-更新说明.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-01-23_全文复筛前端开发完成.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-01-23_全文复筛前端逻辑调整.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Prompt设计与测试完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Week1完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Week2-Day1-Bug修复.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Week2-Day1完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-两步测试完整报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-今日工作完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-今日工作总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-全天开发总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-卒中数据泛化测试报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-架构重构完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-路由问题修复报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-19-Week2-Day2完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-19-Week2-Day3完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-Week4完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-字段映射问题修复.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-用户体验优化.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-真实LLM集成完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-22_Day2-Day3_LLM服务与验证系统开发.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-23_Day4_数据库设计与批处理服务开发.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-23_Day5_全文复筛API开发.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-23_数据库迁移状态说明.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-开发记录/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-测试文档/01-测试计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-测试文档/02-标题摘要初筛测试用例.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/05-测试文档/03-测试数据/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ASL-AI智能文献/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_AI_Few-shot示例库.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Bug修复总结_2025-12-08.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Day3开发计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Day4-5前端开发计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_MVP开发计划_V1.0.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Pivot列顺序优化总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_方案B实施总结_2025-12-09.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_缺失值处理_开发进度_2025-12-10.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_缺失值处理功能_更新说明.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-02_工作总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-06_工具C_Day1开发完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-06_工具C_Day2开发完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_AI对话核心功能增强总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_Bug修复_DataGrid空数据防御.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_Day5_Ant-Design-X重构完成.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_Day5最终总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_UI优化与Bug修复.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_后端API完整对接完成.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_完整UI优化与功能增强.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_工具C_Day4前端基础完成.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/DC模块重建完成总结-Day1.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/Day2完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/Day3完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/Phase1-Portal页面开发完成-2025-12-02.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/Phase2-ToolB-Step1-2开发完成-2025-12-03.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/Portal页面UI优化-2025-12-02.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/Tool-B-MVP完成总结-2025-12-03.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/ToolB-UI优化-2025-12-03.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/ToolB-UI优化-Round2-2025-12-03.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/ToolB浏览器测试计划-2025-12-03.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/后端API测试报告-2025-12-02.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/待办事项-下一步工作.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/06-开发记录/数据库验证报告-2025-12-02.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/07-技术债务/Tool-B技术债务清单.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/DC-数据清洗整理/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 完整技术开发方案 (V1.1).md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 技术路径与架构设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/04-开发计划/REDCap对接技术方案与实施指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/04-开发计划/企业微信注册指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/06-开发记录/2026-01-04-Dify知识库集成开发记录.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/06-开发记录/Day2-REDCap实时集成开发完成记录.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/06-开发记录/Day3-企业微信集成与端到端测试完成记录.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/06-开发记录/Day3-企业微信集成开发完成记录.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/06-开发记录/Phase1.5-AI对话集成REDCap完成记录.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/06-开发记录/V1.1更新完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/IIT Manager Agent/07-技术债务/IIT Manager Agent 技术债务清单.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/INST-机构管理端/00-模块当前状态与开发指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/INST-机构管理端/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/PKB-个人知识库/00-模块当前状态与开发指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/PKB-个人知识库/02-技术设计/01-数据库设计.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/PKB-个人知识库/06-开发记录/2026-01-07-前端迁移与批处理功能完善.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/PKB-个人知识库/06-开发记录/2026-01-07_PKB模块前端V3设计实现.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/PKB-个人知识库/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/RVW-稿件审查系统/00-模块当前状态与开发指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/RVW-稿件审查系统/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/Redcap/00-模块概览/00-REDCap模块文档导航.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/Redcap/00-模块概览/02-REDCap对接总体方案.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/Redcap/00-模块概览/03-REDCap对接风险评估与技术挑战分析.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/Redcap/01-部署与配置/10-REDCap_Docker部署操作手册.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/Redcap/01-部署与配置/13-部署问题排查手册.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/Redcap/04-参考资料/02-REDCap部署指南与环境要求_旧版.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/Redcap/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/SSA-智能统计分析/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/03-业务模块/ST-统计分析工具/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/04-开发规范/01-数据库设计规范.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/04-开发规范/02-API设计规范.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/04-开发规范/03-数据库全局视图.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/04-开发规范/04-API路由总览.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/04-开发规范/09-数据库开发规范.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/04-开发规范/10-模块认证规范.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/02-SAE部署完全指南(产品经理版).md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/07-前端Nginx-SAE部署操作手册.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/08-PostgreSQL数据库部署操作手册.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/10-Node.js后端-Docker镜像构建手册.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/11-Node.js后端-SAE部署配置清单.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/12-Node.js后端-SAE部署操作手册.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/13-Node.js后端-镜像修复记录.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/14-Node.js后端-pino-pretty问题修复.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/16-前端Nginx-部署成功总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/17-完整部署实战手册-2025版.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/18-部署文档使用指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/19-日常更新快速操作手册.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/05-部署文档/文档修正报告-20251214.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/06-测试文档/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/07-运维文档/02-环境变量配置模板.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/07-运维文档/03-SAE环境变量配置指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/07-运维文档/05-Redis缓存与队列的区别说明.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/07-运维文档/06-长时间任务可靠性分析.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/07-运维文档/07-Redis使用需求分析(按模块).md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-12-工作总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-13-任务19完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-13-工作总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-14-任务19完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-16-平台基础设施规划完成总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-17-平台基础设施实施完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-17-平台基础设施验证报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-11-18-AI助手工作交接.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/2025-12-13-Postgres-Only架构改造完成.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/03-每周计划/Week2-总结报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/04-技术决策/2025-11-18-MSE与ARMS采购决策分析.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/04-技术决策/2025-11-18-PostgreSQL版本选择建议.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/04-技术决策/2025-11-18-阿里云RDS系列选择建议.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/05-技术债务/通用对话服务抽取计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/2026-01-11-数据库事故总结.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB前端问题修复报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB前端验证指南.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB功能审查报告-阶段0.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB和RVW功能迁移计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB精细化优化报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB迁移-超级安全执行计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB迁移-阶段1完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB迁移-阶段2完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB迁移-阶段2进行中.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB迁移-阶段3完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/PKB迁移-阶段4完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/V2.2版本变化说明.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/下一阶段行动计划-V2.0-模块化架构优先.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/08-项目管理/下一阶段行动计划-V2.2-前端架构优先版.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/01-Schema隔离架构设计(10个).md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/04-平台基础设施规划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/Prisma配置完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/Schema迁移完成报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/前端模块注册机制实施报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/后端代码分层-迁移计划.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/后端代码分层实施报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/后端架构增量演进方案.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/快速功能测试报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/数据库验证通过.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/模块配置更新报告.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/09-架构实施/编码规范-UTF8最佳实践.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/_templates/API设计-模板.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/_templates/README.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/_templates/数据库设计-模板.md', CRLF will be replaced by LF the next time Git touches it +warning: in the working copy of 'docs/_templates/模块README-模板.md', CRLF will be replaced by LF the next time Git touches it +docs/00-系统总体设计/00-今日架构设计总结.md +docs/00-系统总体设计/00-核心问题解答.md +docs/00-系统总体设计/00-阅读指南.md +docs/00-系统总体设计/01-系统架构分层设计.md +docs/00-系统总体设计/02-文档体系重构方案.md +docs/00-系统总体设计/03-数据库架构说明.md +docs/00-系统总体设计/04-运营管理端架构设计.md +docs/00-系统总体设计/05-Schema隔离方案与成本分析.md +docs/00-系统总体设计/06-模块独立部署与单机版方案.md +docs/00-系统总体设计/07-Monorepo架构评估.md +docs/00-系统总体设计/08-架构设计全景图.md +docs/00-系统总体设计/09-总体需求文档(PRD).md +docs/00-系统总体设计/10-核心业务规则总览.md +docs/00-系统总体设计/99-下一步行动决策建议.md +docs/00-系统总体设计/README.md +docs/00-系统总体设计/前后端模块化架构设计-V2.md +docs/00-项目概述/产品需求文档(PRD).md +docs/00-项目概述/壹证循科技 AI科研产品需求文档.md +docs/00-项目概述/壹证循科技AI科研产品 - 技术架构白皮书.md +docs/00-项目概述/技术架构总览.md +docs/00-项目概述/文档梳理与差异分析.md +docs/00-项目概述/最新需求与技术方案深度评估.md +docs/00-项目概述/现有系统技术摸底报告.md +docs/00-项目概述/设计文档完成总结.md +docs/01-平台基础层/01-用户与权限中心(UAM)/README.md +docs/01-平台基础层/02-存储服务/README.md +docs/01-平台基础层/03-通知服务/README.md +docs/01-平台基础层/04-监控与日志/README.md +docs/01-平台基础层/05-系统配置/README.md +docs/01-平台基础层/06-前端架构/01-前端总体架构设计.md +docs/01-平台基础层/06-前端架构/02-导航结构设计.md +docs/01-平台基础层/06-前端架构/README.md +docs/01-平台基础层/README.md +docs/02-通用能力层/01-LLM大模型网关/03-CloseAI集成指南.md +docs/02-通用能力层/01-LLM大模型网关/README.md +docs/02-通用能力层/02-文档处理引擎/README.md +docs/02-通用能力层/03-RAG引擎/README.md +docs/02-通用能力层/04-数据ETL引擎/README.md +docs/02-通用能力层/05-医学NLP引擎/README.md +docs/02-通用能力层/Postgres-Only异步任务处理指南.md +docs/02-通用能力层/README.md +docs/02-通用能力层/通用能力层技术债务清单.md +docs/03-业务模块/ADMIN-运营管理端/00-Phase3.5完成总结.md +docs/03-业务模块/ADMIN-运营管理端/00-模块当前状态与开发指南.md +docs/03-业务模块/ADMIN-运营管理端/00-系统设计/00-权限与角色体系梳理报告_v1.0.md +docs/03-业务模块/ADMIN-运营管理端/00-系统设计/02-通用能力层_10-权限体系梳理反馈与修正建议.md +docs/03-业务模块/ADMIN-运营管理端/00-给新AI的快速指南.md +docs/03-业务模块/ADMIN-运营管理端/01-需求分析/02-通用能力层_07-运营与机构管理端PRD_v2.1.md +docs/03-业务模块/ADMIN-运营管理端/02-技术设计/02-通用能力层_03-Prompt管理系统与灰度预览设计方案.md +docs/03-业务模块/ADMIN-运营管理端/02-技术设计/03-Prompt管理系统快速参考.md +docs/03-业务模块/ADMIN-运营管理端/02-技术设计/Prompt管理后台设计.md +docs/03-业务模块/ADMIN-运营管理端/04-开发计划/00-总体开发计划.md +docs/03-业务模块/ADMIN-运营管理端/04-开发计划/01-TODO清单(可追踪).md +docs/03-业务模块/ADMIN-运营管理端/04-开发计划/02-Prompt管理系统开发计划.md +docs/03-业务模块/ADMIN-运营管理端/README.md +docs/03-业务模块/ADMIN运营与INST机构管理端-文档体系建立完成.md +docs/03-业务模块/AIA-AI智能问答/01-需求分析/AIA模块PRD.md +docs/03-业务模块/AIA-AI智能问答/02-技术设计/01-数据库设计.md +docs/03-业务模块/AIA-AI智能问答/04-开发计划/01-AIA-V2.1开发计划.md +docs/03-业务模块/AIA-AI智能问答/04-开发计划/02-后端API设计.md +docs/03-业务模块/AIA-AI智能问答/04-开发计划/03-前端组件设计.md +docs/03-业务模块/AIA-AI智能问答/README.md +docs/03-业务模块/ASL-AI智能文献/00-新AI交接文档.md +docs/03-业务模块/ASL-AI智能文献/00-模块当前状态与开发指南.md +docs/03-业务模块/ASL-AI智能文献/00-系统设计/01-系统架构设计.md +docs/03-业务模块/ASL-AI智能文献/00-系统设计/02-模块关联关系设计.md +docs/03-业务模块/ASL-AI智能文献/00-系统设计/03-数据流设计.md +docs/03-业务模块/ASL-AI智能文献/00-系统设计/04-技术选型说明.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/01-需求总览.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/02-标题摘要初筛需求详述.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/03-全文复筛需求详述.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/04-用户故事和验收标准.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/05-非功能性需求.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/AI智能文献PRD(1)-产品概览.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/AI智能文献PRD(2)-初筛与复筛.md +docs/03-业务模块/ASL-AI智能文献/01-需求分析/AI智能文献PRD(3)-提取与分析模块.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/01-数据库设计.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/02-API设计规范.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/03-前端组件设计.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/04-AI模型集成设计.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/05-文件处理设计.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/06-质量保障与可追溯策略.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/07-文献处理技术选型.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/07-智能Prompt生成模块开发计划.md +docs/03-业务模块/ASL-AI智能文献/02-技术设计/08-全文复筛质量保障策略.md +docs/03-业务模块/ASL-AI智能文献/03-UI设计/01-标题摘要初筛UI设计.md +docs/03-业务模块/ASL-AI智能文献/03-UI设计/02-全文复筛UI设计.md +docs/03-业务模块/ASL-AI智能文献/03-UI设计/03-设计规范.md +docs/03-业务模块/ASL-AI智能文献/04-开发计划/01-开发里程碑.md +docs/03-业务模块/ASL-AI智能文献/04-开发计划/02-标题摘要初筛开发计划.md +docs/03-业务模块/ASL-AI智能文献/04-开发计划/03-任务分解.md +docs/03-业务模块/ASL-AI智能文献/04-开发计划/04-Week4-结果展示与导出开发计划.md +docs/03-业务模块/ASL-AI智能文献/04-开发计划/04-全文复筛开发计划.md +docs/03-业务模块/ASL-AI智能文献/04-开发计划/05-全文复筛前端开发计划.md +docs/03-业务模块/ASL-AI智能文献/04-开发计划/全文复筛开发计划-更新说明.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-01-23_全文复筛前端开发完成.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-01-23_全文复筛前端逻辑调整.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Prompt设计与测试完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Week1完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Week2-Day1-Bug修复.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-Week2-Day1完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-两步测试完整报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-今日工作完成总结.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-今日工作总结.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-全天开发总结.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-卒中数据泛化测试报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-架构重构完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-18-路由问题修复报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-19-Week2-Day2完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-19-Week2-Day3完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-Week4完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-字段映射问题修复.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-用户体验优化.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-21-真实LLM集成完成报告.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-22_Day2-Day3_LLM服务与验证系统开发.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-23_Day4_数据库设计与批处理服务开发.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-23_Day5_全文复筛API开发.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/2025-11-23_数据库迁移状态说明.md +docs/03-业务模块/ASL-AI智能文献/05-开发记录/README.md +docs/03-业务模块/ASL-AI智能文献/05-测试文档/01-测试计划.md +docs/03-业务模块/ASL-AI智能文献/05-测试文档/02-标题摘要初筛测试用例.md +docs/03-业务模块/ASL-AI智能文献/05-测试文档/03-测试数据/README.md +docs/03-业务模块/ASL-AI智能文献/06-技术债务/技术债务清单.md +docs/03-业务模块/ASL-AI智能文献/README.md +docs/03-业务模块/DC-数据清洗整理/00-工具C当前状态与开发指南.md +docs/03-业务模块/DC-数据清洗整理/00-模块当前状态与开发指南.md +docs/03-业务模块/DC-数据清洗整理/01-需求分析/PRD_工具C_科研数据编辑器_V6.md +docs/03-业务模块/DC-数据清洗整理/01-需求分析/PRD:Tool A - 医疗数据超级合并器 (The Super Merger).md +docs/03-业务模块/DC-数据清洗整理/01-需求分析/PRD:Tool B - 病历结构化机器人 (The AI Structurer).md +docs/03-业务模块/DC-数据清洗整理/01-需求分析/PRD:Tool C - 科研数据编辑器 (MVP V1.1).md +docs/03-业务模块/DC-数据清洗整理/01-需求分析/PRD:Tool C - 科研数据编辑器.md +docs/03-业务模块/DC-数据清洗整理/01-需求分析/PRD:智能数据清洗工作台 (The Data Cleaning Portal).md +docs/03-业务模块/DC-数据清洗整理/01-需求分析/总体 PRD:医疗科研智能数据清洗平台.md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/API设计文档-DC模块(完整版).md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/工具 C:AI 辅助医疗数据清洗场景分级清单.md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/总体技术设计文档:医疗科研智能数据清洗平台.md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/技术设计文档:工具 A - 医疗数据超级合并器 (The Super Merger).md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/技术设计文档:工具 B - 病历结构化机器人 (The AI Structurer).md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/技术设计文档:工具 C - 科研数据编辑器 (V7 云端沙箱抗风险版).md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/技术设计文档:工具 C - 科研数据编辑器.md +docs/03-业务模块/DC-数据清洗整理/02-技术设计/数据库设计文档-DC模块(完整版).md +docs/03-业务模块/DC-数据清洗整理/03-UI设计/UIUX 视觉优化建议书.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/DC模块Tool-B开发任务清单.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/DC模块Tool-B开发计划.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_AI_Few-shot示例库.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Bug修复总结_2025-12-08.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Day3开发计划.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Day4-5前端开发计划.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_MVP开发_TODO清单.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_MVP开发计划_V1.0.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_NA处理功能开发总结.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_Pivot列顺序优化总结.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_功能按钮开发计划_V1.0.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_方案B实施总结_2025-12-09.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_缺失值处理_开发完成说明.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_缺失值处理_开发进度_2025-12-10.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_缺失值处理功能_更新说明.md +docs/03-业务模块/DC-数据清洗整理/04-开发计划/工具C_缺失值处理功能开发计划.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-02_工作总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-06_工具C_Day1开发完成总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-06_工具C_Day2开发完成总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-06_工具C_Day3开发完成总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_AI对话核心功能增强总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_Bug修复_DataGrid空数据防御.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_Day5_Ant-Design-6.0升级与通用Chat组件开发.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_Day5_Ant-Design-X重构完成.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_Day5最终总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_UI优化与Bug修复.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_后端API完整对接完成.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_完整UI优化与功能增强.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/2025-12-07_工具C_Day4前端基础完成.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/DC模块重建完成总结-Day1.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/Day2完成总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/Day3完成总结.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/Phase1-Portal页面开发完成-2025-12-02.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/Phase2-ToolB-Step1-2开发完成-2025-12-03.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/Portal页面UI优化-2025-12-02.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/Tool-B-MVP完成总结-2025-12-03.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/ToolB-UI优化-2025-12-03.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/ToolB-UI优化-Round2-2025-12-03.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/ToolB浏览器测试计划-2025-12-03.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/后端API测试报告-2025-12-02.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/待办事项-下一步工作.md +docs/03-业务模块/DC-数据清洗整理/06-开发记录/数据库验证报告-2025-12-02.md +docs/03-业务模块/DC-数据清洗整理/07-技术债务/Tool-B技术债务清单.md +docs/03-业务模块/DC-数据清洗整理/07-技术债务/Tool-C技术债务清单.md +docs/03-业务模块/DC-数据清洗整理/README.md +docs/03-业务模块/IIT Manager Agent/00-模块当前状态与开发指南.md +docs/03-业务模块/IIT Manager Agent/00-系统设计/IIT Manager Agent V4 完整产品需求文档.md +docs/03-业务模块/IIT Manager Agent/00-系统设计/IIT Manager Agent 技术架构白皮书.md +docs/03-业务模块/IIT Manager Agent/00-系统设计/IIT Manager Agent 项目实施战略与 MVP 路线图.md +docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 多端交互流程与权限设计 (V1.0).md +docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 多端角色与微信端开发指南.md +docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 完整技术开发方案 (V1.0).md +docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 完整技术开发方案 (V1.1).md +docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 技术路径与架构设计.md +docs/03-业务模块/IIT Manager Agent/02-技术设计/IIT Manager Agent 智能问答与混合检索解决方案 (ReAct 业务闭环版).md +docs/03-业务模块/IIT Manager Agent/02-技术设计/REDCap 原生录入与 AI Workbench 操作边界划分.md +docs/03-业务模块/IIT Manager Agent/02-技术设计/文档 B:EDC 适配器 (REDCap) 技术详细设计 (V1.0).md +docs/03-业务模块/IIT Manager Agent/04-开发计划/Day2-开发完成总结.md +docs/03-业务模块/IIT Manager Agent/04-开发计划/MVP开发任务清单.md +docs/03-业务模块/IIT Manager Agent/04-开发计划/Phase1.5-AI对话能力开发计划.md +docs/03-业务模块/IIT Manager Agent/04-开发计划/REDCap对接技术方案与实施指南.md +docs/03-业务模块/IIT Manager Agent/04-开发计划/企业微信注册指南.md +docs/03-业务模块/IIT Manager Agent/04-开发计划/最小MVP闭环开发计划.md +docs/03-业务模块/IIT Manager Agent/06-开发记录/2026-01-04-Dify知识库集成开发记录.md +docs/03-业务模块/IIT Manager Agent/06-开发记录/Day2-REDCap实时集成开发完成记录.md +docs/03-业务模块/IIT Manager Agent/06-开发记录/Day3-企业微信集成与端到端测试完成记录.md +docs/03-业务模块/IIT Manager Agent/06-开发记录/Day3-企业微信集成开发完成记录.md +docs/03-业务模块/IIT Manager Agent/06-开发记录/IIT Manager Agent 技术方案审查与补丁.md +docs/03-业务模块/IIT Manager Agent/06-开发记录/Phase1.5-AI对话集成REDCap完成记录.md +docs/03-业务模块/IIT Manager Agent/06-开发记录/V1.1更新完成报告.md +docs/03-业务模块/IIT Manager Agent/07-技术债务/IIT Manager Agent 技术债务清单.md +docs/03-业务模块/INST-机构管理端/00-模块当前状态与开发指南.md +docs/03-业务模块/INST-机构管理端/README.md +docs/03-业务模块/PKB-个人知识库/00-模块当前状态与开发指南.md +docs/03-业务模块/PKB-个人知识库/01-需求分析/AI 临床医生与医院知识库 - MVP 阶段产品需求文档 (PRD) V5.0.md +docs/03-业务模块/PKB-个人知识库/02-技术设计/01-数据库设计.md +docs/03-业务模块/PKB-个人知识库/05-测试文档/与原型图的差距.md +docs/03-业务模块/PKB-个人知识库/06-开发记录/2026-01-07-前端迁移与批处理功能完善.md +docs/03-业务模块/PKB-个人知识库/06-开发记录/2026-01-07_PKB模块前端V3设计实现.md +docs/03-业务模块/PKB-个人知识库/README.md +docs/03-业务模块/README.md +docs/03-业务模块/RVW-稿件审查系统/00-模块当前状态与开发指南.md +docs/03-业务模块/RVW-稿件审查系统/01-需求分析/智能期刊审稿系统 MVP 产品需求文档.md +docs/03-业务模块/RVW-稿件审查系统/04-开发计划/RVW模块迁移计划.md +docs/03-业务模块/RVW-稿件审查系统/README.md +docs/03-业务模块/Redcap/00-模块概览/00-REDCap模块文档导航.md +docs/03-业务模块/Redcap/00-模块概览/02-REDCap对接总体方案.md +docs/03-业务模块/Redcap/00-模块概览/03-REDCap对接风险评估与技术挑战分析.md +docs/03-业务模块/Redcap/00-模块概览/04-生产环境部署决策报告_ECS_vs_SAE.md +docs/03-业务模块/Redcap/01-部署与配置/10-REDCap_Docker部署操作手册.md +docs/03-业务模块/Redcap/01-部署与配置/13-部署问题排查手册.md +docs/03-业务模块/Redcap/03-API对接与开发/33-REDCap二次开发深度指南.md +docs/03-业务模块/Redcap/04-参考资料/02-REDCap部署指南与环境要求_旧版.md +docs/03-业务模块/Redcap/04-参考资料/03-REDCap本地Docker开发环境部署方案_旧版.md +docs/03-业务模块/Redcap/README.md +docs/03-业务模块/SSA-智能统计分析/README.md +docs/03-业务模块/ST-统计分析工具/README.md +docs/04-开发规范/01-数据库设计规范.md +docs/04-开发规范/02-API设计规范.md +docs/04-开发规范/03-数据库全局视图.md +docs/04-开发规范/04-API路由总览.md +docs/04-开发规范/05-代码规范.md +docs/04-开发规范/06-Git提交规范.md +docs/04-开发规范/08-云原生开发规范.md +docs/04-开发规范/09-数据库开发规范.md +docs/04-开发规范/10-模块认证规范.md +docs/04-开发规范/README.md +docs/05-部署文档/00-部署架构总览.md +docs/05-部署文档/00-阿里云SAE最新真实状态记录.md +docs/05-部署文档/01-快速部署SOP-零基础版.md +docs/05-部署文档/02-SAE部署完全指南(产品经理版).md +docs/05-部署文档/03-Dify-ECS部署完全指南.md +docs/05-部署文档/04-Python微服务-SAE容器部署指南.md +docs/05-部署文档/05-Node.js后端-SAE容器部署指南.md +docs/05-部署文档/06-前端Nginx-SAE容器部署指南.md +docs/05-部署文档/07-关键配置补充说明.md +docs/05-部署文档/07-前端Nginx-SAE部署操作手册.md +docs/05-部署文档/08-PostgreSQL数据库部署操作手册.md +docs/05-部署文档/08-部署检查清单.md +docs/05-部署文档/09-Python微服务-SAE部署操作手册.md +docs/05-部署文档/10-Node.js后端-Docker镜像构建手册.md +docs/05-部署文档/11-Node.js后端-SAE部署配置清单.md +docs/05-部署文档/12-Node.js后端-SAE部署操作手册.md +docs/05-部署文档/13-Node.js后端-镜像修复记录.md +docs/05-部署文档/14-Node.js后端-pino-pretty问题修复.md +docs/05-部署文档/15-Node.js后端-部署成功总结.md +docs/05-部署文档/16-前端Nginx-部署成功总结.md +docs/05-部署文档/17-完整部署实战手册-2025版.md +docs/05-部署文档/18-部署文档使用指南.md +docs/05-部署文档/19-日常更新快速操作手册.md +docs/05-部署文档/CTO 代码审查报告:AI临床研究平台部署架构.md +docs/05-部署文档/PostgreSQL部署策略-摸底报告.md +docs/05-部署文档/README.md +docs/05-部署文档/SSL 证书域名SAE配置指南.md +docs/05-部署文档/文档修正报告-20251214.md +docs/05-部署文档/集成部署补充指南:填补最后的缝隙.md +docs/06-测试文档/README.md +docs/07-运维文档/01-环境配置指南.md +docs/07-运维文档/02-环境变量配置模板.md +docs/07-运维文档/03-SAE环境变量配置指南.md +docs/07-运维文档/04-Redis改造实施计划.md +docs/07-运维文档/05-Redis缓存与队列的区别说明.md +docs/07-运维文档/06-长时间任务可靠性分析.md +docs/07-运维文档/07-Redis使用需求分析(按模块).md +docs/07-运维文档/08-Postgres-Only 全能架构解决方案.md +docs/07-运维文档/09-Postgres-Only改造实施计划(完整版).md +docs/07-运维文档/10-Postgres-Only改造进度追踪表.md +docs/07-运维文档/README.md +docs/08-项目管理/01-整体开发计划/README.md +docs/08-项目管理/02-里程碑规划/README.md +docs/08-项目管理/03-每周计划/2025-11-12-工作总结.md +docs/08-项目管理/03-每周计划/2025-11-13-任务19完成总结.md +docs/08-项目管理/03-每周计划/2025-11-13-工作总结.md +docs/08-项目管理/03-每周计划/2025-11-14-任务19完成总结.md +docs/08-项目管理/03-每周计划/2025-11-16-平台基础设施规划完成总结.md +docs/08-项目管理/03-每周计划/2025-11-17-平台基础设施实施完成报告.md +docs/08-项目管理/03-每周计划/2025-11-17-平台基础设施验证报告.md +docs/08-项目管理/03-每周计划/2025-11-18-AI助手工作交接.md +docs/08-项目管理/03-每周计划/2025-12-13-Postgres-Only架构改造完成.md +docs/08-项目管理/03-每周计划/README.md +docs/08-项目管理/03-每周计划/Week2-总结报告.md +docs/08-项目管理/04-技术决策/2025-11-18-MSE与ARMS采购决策分析.md +docs/08-项目管理/04-技术决策/2025-11-18-PostgreSQL版本选择建议.md +docs/08-项目管理/04-技术决策/2025-11-18-阿里云RDS系列选择建议.md +docs/08-项目管理/05-技术债务/通用对话服务抽取计划.md +docs/08-项目管理/2026-01-11-数据库事故总结.md +docs/08-项目管理/PKB前端问题修复报告.md +docs/08-项目管理/PKB前端验证指南.md +docs/08-项目管理/PKB功能审查报告-阶段0.md +docs/08-项目管理/PKB和RVW功能迁移计划.md +docs/08-项目管理/PKB精细化优化报告.md +docs/08-项目管理/PKB迁移-超级安全执行计划.md +docs/08-项目管理/PKB迁移-阶段1完成报告.md +docs/08-项目管理/PKB迁移-阶段2完成报告.md +docs/08-项目管理/PKB迁移-阶段2进行中.md +docs/08-项目管理/PKB迁移-阶段3完成报告.md +docs/08-项目管理/PKB迁移-阶段4完成报告.md +docs/08-项目管理/README.md +docs/08-项目管理/V2.2版本变化说明.md +docs/08-项目管理/下一阶段行动计划-V2.0-模块化架构优先.md +docs/08-项目管理/下一阶段行动计划-V2.1-务实版.md +docs/08-项目管理/下一阶段行动计划-V2.2-前端架构优先版.md +docs/08-项目管理/下一阶段行动计划-V2.2-完整版.md +docs/09-架构实施/01-Schema隔离架构设计(10个).md +docs/09-架构实施/02-数据库连接配置.md +docs/09-架构实施/03-云原生部署架构指南.md +docs/09-架构实施/04-平台基础设施规划.md +docs/09-架构实施/Frontend-v2创建完成报告.md +docs/09-架构实施/Prisma配置完成报告.md +docs/09-架构实施/README.md +docs/09-架构实施/Schema迁移完成报告.md +docs/09-架构实施/migration-scripts/README.md +docs/09-架构实施/前端模块注册机制实施报告.md +docs/09-架构实施/后端代码分层-迁移计划.md +docs/09-架构实施/后端代码分层实施报告.md +docs/09-架构实施/后端架构增量演进方案.md +docs/09-架构实施/快速功能测试报告.md +docs/09-架构实施/数据库验证通过.md +docs/09-架构实施/模块配置更新报告.md +docs/09-架构实施/编码规范-UTF8最佳实践.md +docs/README.md +docs/_templates/API设计-模板.md +docs/_templates/README.md +docs/_templates/数据库设计-模板.md +docs/_templates/模块README-模板.md +docs/文档整理清单.md diff --git a/extraction_service/.dockerignore b/extraction_service/.dockerignore index 7716dcb8..a5c1983b 100644 --- a/extraction_service/.dockerignore +++ b/extraction_service/.dockerignore @@ -74,5 +74,6 @@ models/ + diff --git a/extraction_service/operations/__init__.py b/extraction_service/operations/__init__.py index 367911d5..4e77a2e6 100644 --- a/extraction_service/operations/__init__.py +++ b/extraction_service/operations/__init__.py @@ -62,5 +62,6 @@ __version__ = '1.0.0' + diff --git a/extraction_service/operations/dropna.py b/extraction_service/operations/dropna.py index 0955886b..7a2927eb 100644 --- a/extraction_service/operations/dropna.py +++ b/extraction_service/operations/dropna.py @@ -195,5 +195,6 @@ def get_missing_summary(df: pd.DataFrame) -> dict: + diff --git a/extraction_service/operations/filter.py b/extraction_service/operations/filter.py index 7d76a7cf..603f7188 100644 --- a/extraction_service/operations/filter.py +++ b/extraction_service/operations/filter.py @@ -155,5 +155,6 @@ def apply_filter( + diff --git a/extraction_service/operations/unpivot.py b/extraction_service/operations/unpivot.py index a1f733d1..4b02e52d 100644 --- a/extraction_service/operations/unpivot.py +++ b/extraction_service/operations/unpivot.py @@ -319,5 +319,6 @@ def get_unpivot_preview( + diff --git a/extraction_service/test_dc_api.py b/extraction_service/test_dc_api.py index d03e0944..7b24a117 100644 --- a/extraction_service/test_dc_api.py +++ b/extraction_service/test_dc_api.py @@ -329,5 +329,6 @@ if __name__ == "__main__": + diff --git a/extraction_service/test_execute_simple.py b/extraction_service/test_execute_simple.py index a27640c7..59c6cd15 100644 --- a/extraction_service/test_execute_simple.py +++ b/extraction_service/test_execute_simple.py @@ -95,5 +95,6 @@ except Exception as e: + diff --git a/extraction_service/test_module.py b/extraction_service/test_module.py index bff29d62..2c2ab8e4 100644 --- a/extraction_service/test_module.py +++ b/extraction_service/test_module.py @@ -75,5 +75,6 @@ except Exception as e: + diff --git a/frontend-v2/.dockerignore b/frontend-v2/.dockerignore index 8f4c4386..377e81de 100644 --- a/frontend-v2/.dockerignore +++ b/frontend-v2/.dockerignore @@ -94,5 +94,6 @@ vite.config.*.timestamp-* + diff --git a/frontend-v2/docker-entrypoint.sh b/frontend-v2/docker-entrypoint.sh index 37d64c28..462c8c59 100644 --- a/frontend-v2/docker-entrypoint.sh +++ b/frontend-v2/docker-entrypoint.sh @@ -61,5 +61,6 @@ exec nginx -g 'daemon off;' + diff --git a/frontend-v2/nginx.conf b/frontend-v2/nginx.conf index 15e54bfe..1025231d 100644 --- a/frontend-v2/nginx.conf +++ b/frontend-v2/nginx.conf @@ -217,5 +217,6 @@ http { + diff --git a/frontend-v2/src/modules/asl/components/FulltextDetailDrawer.tsx b/frontend-v2/src/modules/asl/components/FulltextDetailDrawer.tsx index 321ea1ea..aca1c0a7 100644 --- a/frontend-v2/src/modules/asl/components/FulltextDetailDrawer.tsx +++ b/frontend-v2/src/modules/asl/components/FulltextDetailDrawer.tsx @@ -564,5 +564,6 @@ export default FulltextDetailDrawer; + diff --git a/frontend-v2/src/modules/dc/hooks/useAssets.ts b/frontend-v2/src/modules/dc/hooks/useAssets.ts index 888dade1..e12ccd9d 100644 --- a/frontend-v2/src/modules/dc/hooks/useAssets.ts +++ b/frontend-v2/src/modules/dc/hooks/useAssets.ts @@ -157,5 +157,6 @@ export const useAssets = (activeTab: AssetTabType) => { + diff --git a/frontend-v2/src/modules/dc/hooks/useRecentTasks.ts b/frontend-v2/src/modules/dc/hooks/useRecentTasks.ts index 1eec8d44..02d8a4a5 100644 --- a/frontend-v2/src/modules/dc/hooks/useRecentTasks.ts +++ b/frontend-v2/src/modules/dc/hooks/useRecentTasks.ts @@ -147,5 +147,6 @@ export const useRecentTasks = () => { + diff --git a/frontend-v2/src/modules/dc/pages/tool-c/components/DropnaDialog.tsx b/frontend-v2/src/modules/dc/pages/tool-c/components/DropnaDialog.tsx index 9fc64015..aef9717e 100644 --- a/frontend-v2/src/modules/dc/pages/tool-c/components/DropnaDialog.tsx +++ b/frontend-v2/src/modules/dc/pages/tool-c/components/DropnaDialog.tsx @@ -346,5 +346,6 @@ export default DropnaDialog; + diff --git a/frontend-v2/src/modules/dc/pages/tool-c/components/MetricTimePanel.tsx b/frontend-v2/src/modules/dc/pages/tool-c/components/MetricTimePanel.tsx index 4e00e2c3..2f9de394 100644 --- a/frontend-v2/src/modules/dc/pages/tool-c/components/MetricTimePanel.tsx +++ b/frontend-v2/src/modules/dc/pages/tool-c/components/MetricTimePanel.tsx @@ -431,5 +431,6 @@ export default MetricTimePanel; + diff --git a/frontend-v2/src/modules/dc/pages/tool-c/components/PivotPanel.tsx b/frontend-v2/src/modules/dc/pages/tool-c/components/PivotPanel.tsx index 6476bbf4..9881257e 100644 --- a/frontend-v2/src/modules/dc/pages/tool-c/components/PivotPanel.tsx +++ b/frontend-v2/src/modules/dc/pages/tool-c/components/PivotPanel.tsx @@ -317,5 +317,6 @@ export default PivotPanel; + diff --git a/frontend-v2/src/modules/dc/pages/tool-c/hooks/useSessionStatus.ts b/frontend-v2/src/modules/dc/pages/tool-c/hooks/useSessionStatus.ts index ddcc0664..1ebefcf5 100644 --- a/frontend-v2/src/modules/dc/pages/tool-c/hooks/useSessionStatus.ts +++ b/frontend-v2/src/modules/dc/pages/tool-c/hooks/useSessionStatus.ts @@ -117,5 +117,6 @@ export function useSessionStatus({ + diff --git a/frontend-v2/src/modules/dc/pages/tool-c/types/index.ts b/frontend-v2/src/modules/dc/pages/tool-c/types/index.ts index cf533641..c06c4cbe 100644 --- a/frontend-v2/src/modules/dc/pages/tool-c/types/index.ts +++ b/frontend-v2/src/modules/dc/pages/tool-c/types/index.ts @@ -109,5 +109,6 @@ export interface DataStats { + diff --git a/frontend-v2/src/modules/dc/types/portal.ts b/frontend-v2/src/modules/dc/types/portal.ts index 28bcfa49..6c4cb5e0 100644 --- a/frontend-v2/src/modules/dc/types/portal.ts +++ b/frontend-v2/src/modules/dc/types/portal.ts @@ -105,5 +105,6 @@ export type AssetTabType = 'all' | 'processed' | 'raw'; + diff --git a/frontend-v2/src/shared/components/index.ts b/frontend-v2/src/shared/components/index.ts index d1fa2794..949a2fb0 100644 --- a/frontend-v2/src/shared/components/index.ts +++ b/frontend-v2/src/shared/components/index.ts @@ -60,5 +60,6 @@ export { default as Placeholder } from './Placeholder'; + diff --git a/frontend-v2/src/vite-env.d.ts b/frontend-v2/src/vite-env.d.ts index e5a789a0..7d5fd851 100644 --- a/frontend-v2/src/vite-env.d.ts +++ b/frontend-v2/src/vite-env.d.ts @@ -40,5 +40,6 @@ interface ImportMeta { + diff --git a/frontend/src/pages/rvw/components/BatchToolbar.tsx b/frontend/src/pages/rvw/components/BatchToolbar.tsx index c3019028..6e9c01f2 100644 --- a/frontend/src/pages/rvw/components/BatchToolbar.tsx +++ b/frontend/src/pages/rvw/components/BatchToolbar.tsx @@ -49,3 +49,4 @@ export default function BatchToolbar({ selectedCount, onRunBatch, onClearSelecti + diff --git a/frontend/src/pages/rvw/components/EditorialReport.tsx b/frontend/src/pages/rvw/components/EditorialReport.tsx index e83bcd7c..e0a85fcc 100644 --- a/frontend/src/pages/rvw/components/EditorialReport.tsx +++ b/frontend/src/pages/rvw/components/EditorialReport.tsx @@ -114,3 +114,4 @@ export default function EditorialReport({ data }: EditorialReportProps) { + diff --git a/frontend/src/pages/rvw/components/FilterChips.tsx b/frontend/src/pages/rvw/components/FilterChips.tsx index 13c4f890..0649d122 100644 --- a/frontend/src/pages/rvw/components/FilterChips.tsx +++ b/frontend/src/pages/rvw/components/FilterChips.tsx @@ -72,3 +72,4 @@ export default function FilterChips({ filters, counts, onFilterChange }: FilterC + diff --git a/frontend/src/pages/rvw/components/Header.tsx b/frontend/src/pages/rvw/components/Header.tsx index 29a74226..8f00c82b 100644 --- a/frontend/src/pages/rvw/components/Header.tsx +++ b/frontend/src/pages/rvw/components/Header.tsx @@ -62,3 +62,4 @@ export default function Header({ onUpload }: HeaderProps) { + diff --git a/frontend/src/pages/rvw/components/ReportDetail.tsx b/frontend/src/pages/rvw/components/ReportDetail.tsx index 1aa8ea4a..d935bca6 100644 --- a/frontend/src/pages/rvw/components/ReportDetail.tsx +++ b/frontend/src/pages/rvw/components/ReportDetail.tsx @@ -116,3 +116,4 @@ export default function ReportDetail({ report, onBack }: ReportDetailProps) { + diff --git a/frontend/src/pages/rvw/components/ScoreRing.tsx b/frontend/src/pages/rvw/components/ScoreRing.tsx index 2be4e1fb..413789bb 100644 --- a/frontend/src/pages/rvw/components/ScoreRing.tsx +++ b/frontend/src/pages/rvw/components/ScoreRing.tsx @@ -44,3 +44,4 @@ export default function ScoreRing({ score, size = 'medium', showLabel = true }: + diff --git a/frontend/src/pages/rvw/components/Sidebar.tsx b/frontend/src/pages/rvw/components/Sidebar.tsx index ec275fd5..33a2bff5 100644 --- a/frontend/src/pages/rvw/components/Sidebar.tsx +++ b/frontend/src/pages/rvw/components/Sidebar.tsx @@ -79,3 +79,4 @@ export default function Sidebar({ currentView, onViewChange, onSettingsClick }: + diff --git a/frontend/src/pages/rvw/index.ts b/frontend/src/pages/rvw/index.ts index e8e7aeb0..56d2b11b 100644 --- a/frontend/src/pages/rvw/index.ts +++ b/frontend/src/pages/rvw/index.ts @@ -13,3 +13,4 @@ export * from './api'; + diff --git a/frontend/src/pages/rvw/styles.css b/frontend/src/pages/rvw/styles.css index cc40ba6e..0ca31231 100644 --- a/frontend/src/pages/rvw/styles.css +++ b/frontend/src/pages/rvw/styles.css @@ -239,3 +239,4 @@ + diff --git a/git-cleanup-redcap.ps1 b/git-cleanup-redcap.ps1 index 5a13c3be..fe0111cd 100644 --- a/git-cleanup-redcap.ps1 +++ b/git-cleanup-redcap.ps1 @@ -33,5 +33,6 @@ Write-Host "Next step: Run the commit command" -ForegroundColor Cyan + diff --git a/git-commit-day1.ps1 b/git-commit-day1.ps1 index a9116c56..02318a0d 100644 --- a/git-commit-day1.ps1 +++ b/git-commit-day1.ps1 @@ -89,5 +89,6 @@ Write-Host "Git commit and push completed!" -ForegroundColor Green + diff --git a/git-fix-lock.ps1 b/git-fix-lock.ps1 index a51238fa..ed8c8315 100644 --- a/git-fix-lock.ps1 +++ b/git-fix-lock.ps1 @@ -37,5 +37,6 @@ Write-Host "Now you can run git commands again." -ForegroundColor Cyan + diff --git a/python-microservice/operations/__init__.py b/python-microservice/operations/__init__.py index 367911d5..4e77a2e6 100644 --- a/python-microservice/operations/__init__.py +++ b/python-microservice/operations/__init__.py @@ -62,5 +62,6 @@ __version__ = '1.0.0' + diff --git a/python-microservice/operations/binning.py b/python-microservice/operations/binning.py index db018487..b17cf24d 100644 --- a/python-microservice/operations/binning.py +++ b/python-microservice/operations/binning.py @@ -169,5 +169,6 @@ def apply_binning( + diff --git a/python-microservice/operations/filter.py b/python-microservice/operations/filter.py index 7d76a7cf..603f7188 100644 --- a/python-microservice/operations/filter.py +++ b/python-microservice/operations/filter.py @@ -155,5 +155,6 @@ def apply_filter( + diff --git a/python-microservice/operations/recode.py b/python-microservice/operations/recode.py index dda11849..a5b1a6cb 100644 --- a/python-microservice/operations/recode.py +++ b/python-microservice/operations/recode.py @@ -125,5 +125,6 @@ def apply_recode( + diff --git a/recover_dc_code.py b/recover_dc_code.py index 859a320f..c5099116 100644 --- a/recover_dc_code.py +++ b/recover_dc_code.py @@ -269,5 +269,6 @@ if __name__ == "__main__": + diff --git a/redcap-docker-dev/.gitattributes b/redcap-docker-dev/.gitattributes index bcd26aa5..bd5a047c 100644 --- a/redcap-docker-dev/.gitattributes +++ b/redcap-docker-dev/.gitattributes @@ -50,4 +50,5 @@ + diff --git a/redcap-docker-dev/.gitignore b/redcap-docker-dev/.gitignore index 13bc33b8..05b62e72 100644 --- a/redcap-docker-dev/.gitignore +++ b/redcap-docker-dev/.gitignore @@ -80,5 +80,6 @@ Desktop.ini + diff --git a/redcap-docker-dev/README.md b/redcap-docker-dev/README.md index 3f1c9fac..26340321 100644 --- a/redcap-docker-dev/README.md +++ b/redcap-docker-dev/README.md @@ -381,5 +381,6 @@ docker-compose -f docker-compose.prod.yml up -d + diff --git a/redcap-docker-dev/docker-compose.prod.yml b/redcap-docker-dev/docker-compose.prod.yml index 541c08ca..ccc34c2a 100644 --- a/redcap-docker-dev/docker-compose.prod.yml +++ b/redcap-docker-dev/docker-compose.prod.yml @@ -142,5 +142,6 @@ volumes: + diff --git a/redcap-docker-dev/docker-compose.yml b/redcap-docker-dev/docker-compose.yml index b4898a8d..000f9ebb 100644 --- a/redcap-docker-dev/docker-compose.yml +++ b/redcap-docker-dev/docker-compose.yml @@ -140,5 +140,6 @@ volumes: + diff --git a/redcap-docker-dev/env.template b/redcap-docker-dev/env.template index 0cc0cdc3..e40b54e3 100644 --- a/redcap-docker-dev/env.template +++ b/redcap-docker-dev/env.template @@ -76,5 +76,6 @@ PMA_UPLOAD_LIMIT=50M + diff --git a/redcap-docker-dev/scripts/clean-redcap.ps1 b/redcap-docker-dev/scripts/clean-redcap.ps1 index 1972a14d..3a4fcefe 100644 --- a/redcap-docker-dev/scripts/clean-redcap.ps1 +++ b/redcap-docker-dev/scripts/clean-redcap.ps1 @@ -84,5 +84,6 @@ Write-Host "" + diff --git a/redcap-docker-dev/scripts/create-redcap-password.php b/redcap-docker-dev/scripts/create-redcap-password.php index d6670976..09d1b0a3 100644 --- a/redcap-docker-dev/scripts/create-redcap-password.php +++ b/redcap-docker-dev/scripts/create-redcap-password.php @@ -63,4 +63,5 @@ try { + diff --git a/redcap-docker-dev/scripts/logs-redcap.ps1 b/redcap-docker-dev/scripts/logs-redcap.ps1 index 456a5761..fd301408 100644 --- a/redcap-docker-dev/scripts/logs-redcap.ps1 +++ b/redcap-docker-dev/scripts/logs-redcap.ps1 @@ -75,5 +75,6 @@ Write-Host "" + diff --git a/redcap-docker-dev/scripts/reset-admin-password.php b/redcap-docker-dev/scripts/reset-admin-password.php index 6192e65e..b4572975 100644 --- a/redcap-docker-dev/scripts/reset-admin-password.php +++ b/redcap-docker-dev/scripts/reset-admin-password.php @@ -39,4 +39,5 @@ if ($result) { + diff --git a/redcap-docker-dev/scripts/start-redcap.ps1 b/redcap-docker-dev/scripts/start-redcap.ps1 index 9ee357a0..4ceacfb7 100644 --- a/redcap-docker-dev/scripts/start-redcap.ps1 +++ b/redcap-docker-dev/scripts/start-redcap.ps1 @@ -60,5 +60,6 @@ if ($LASTEXITCODE -eq 0) { + diff --git a/redcap-docker-dev/scripts/stop-redcap.ps1 b/redcap-docker-dev/scripts/stop-redcap.ps1 index 8631123e..98b7ee04 100644 --- a/redcap-docker-dev/scripts/stop-redcap.ps1 +++ b/redcap-docker-dev/scripts/stop-redcap.ps1 @@ -46,5 +46,6 @@ if ($LASTEXITCODE -eq 0) { + diff --git a/run_recovery.ps1 b/run_recovery.ps1 index 2dd8379a..4d7eb767 100644 --- a/run_recovery.ps1 +++ b/run_recovery.ps1 @@ -93,5 +93,6 @@ Write-Host "==================================================================== + diff --git a/tests/QUICKSTART_快速开始.md b/tests/QUICKSTART_快速开始.md index e7f5a4d0..fbaba3d6 100644 --- a/tests/QUICKSTART_快速开始.md +++ b/tests/QUICKSTART_快速开始.md @@ -140,5 +140,6 @@ INFO: Uvicorn running on http://0.0.0.0:8001 + diff --git a/tests/README_测试说明.md b/tests/README_测试说明.md index e00edd53..b8b66b88 100644 --- a/tests/README_测试说明.md +++ b/tests/README_测试说明.md @@ -296,5 +296,6 @@ df_numeric.to_excel('test_data/numeric_test.xlsx', index=False) + diff --git a/tests/run_tests.bat b/tests/run_tests.bat index 1ba37191..78cae58b 100644 --- a/tests/run_tests.bat +++ b/tests/run_tests.bat @@ -91,5 +91,6 @@ pause + diff --git a/tests/run_tests.sh b/tests/run_tests.sh index e164ba28..113051a1 100644 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -87,5 +87,6 @@ echo "========================================" + diff --git a/快速部署到SAE.md b/快速部署到SAE.md index fcc5c484..421bc7c5 100644 --- a/快速部署到SAE.md +++ b/快速部署到SAE.md @@ -352,5 +352,6 @@ OSS AccessKeySecret:_______________ + diff --git a/部署检查清单.md b/部署检查清单.md index 32c5e4e5..94f5d248 100644 --- a/部署检查清单.md +++ b/部署检查清单.md @@ -388,5 +388,6 @@ OSS配置: +