deploy: Complete 0126-27 deployment - database upgrade, services update, code recovery

Major Changes:
- Database: Install pg_bigm/pgvector plugins, create test database
- Python service: v1.0 -> v1.1, add pymupdf4llm/openpyxl/pypandoc
- Node.js backend: v1.3 -> v1.7, fix pino-pretty and ES Module imports
- Frontend: v1.2 -> v1.3, skip TypeScript check for deployment
- Code recovery: Restore empty files from local backup

Technical Fixes:
- Fix pino-pretty error in production (conditional loading)
- Fix ES Module import paths (add .js extensions)
- Fix OSSAdapter TypeScript errors
- Update Prisma Schema (63 models, 16 schemas)
- Update environment variables (DATABASE_URL, EXTRACTION_SERVICE_URL, OSS)
- Remove deprecated variables (REDIS_URL, DIFY_API_URL, DIFY_API_KEY)

Documentation:
- Create 0126 deployment folder with 8 documents
- Update database development standards v2.0
- Update SAE deployment status records

Deployment Status:
- PostgreSQL: ai_clinical_research_test with plugins
- Python: v1.1 @ 172.17.173.84:8000
- Backend: v1.7 @ 172.17.173.89:3001
- Frontend: v1.3 @ 172.17.173.90:80

Tested: All services running successfully on SAE
This commit is contained in:
2026-01-27 08:13:27 +08:00
parent 01a17f1e6f
commit 2481b786d8
318 changed files with 5290 additions and 3216 deletions

View File

@@ -1052,6 +1052,10 @@ Redis 实例¥500/月

View File

@@ -510,6 +510,10 @@ import { ChatContainer } from '@/shared/components/Chat';

View File

@@ -217,6 +217,10 @@ VALUES ('user-mock-001', '13800000000', ..., 'tenant-mock-001', ...);

View File

@@ -428,6 +428,10 @@ frontend-v2/src/modules/pkb/

View File

@@ -290,6 +290,10 @@ npm run dev

View File

@@ -805,6 +805,10 @@ AIA智能问答模块

View File

@@ -190,7 +190,7 @@ DocumentUpload.tsx // 文件上传(拖拽支持)
-**双维度评估**
- 稿约规范性评估11项标准
- 方法学评估3大部分
-**基于真实期刊标准**:《中华医学超声杂志》稿约
-**基于真实期刊标准**:《中华脑血管病杂志》稿约
-**智能分析**使用LLM进行结构化评估
-**完整报告**JSON格式结果支持导出PDF/复制文本
-**模型选择**DeepSeek-V3 / Qwen3-72B / Qwen-Long
@@ -953,5 +953,6 @@ CREATE INDEX idx_rvw_tasks_created_at ON rvw_schema.review_tasks(created_at);

View File

@@ -603,6 +603,10 @@ const typography = {

View File

@@ -915,6 +915,10 @@ app.use('/api/v1/knowledge', (req, res) => {

View File

@@ -229,6 +229,10 @@ rm -rf src/modules/pkb

View File

@@ -404,6 +404,10 @@ GET /api/v2/pkb/batch-tasks/batch/templates

View File

@@ -48,6 +48,10 @@ import pkbRoutes from './modules/pkb/routes/index.js';

View File

@@ -317,6 +317,10 @@ backend/

View File

@@ -528,6 +528,10 @@ const response = await fetch('/api/v2/pkb/batch-tasks/batch/execute', {