wren
a2c2bf1969
feat: 完善模板对比持久化与附件版本处理
2026-05-20 10:55:28 +08:00
wren
d58755a063
feat: 支持合同模板上传与对比记录持久化
2026-05-19 20:47:54 +08:00
wren
a73826dc1d
feat: integrate govdoc module into leaudit platform
2026-05-17 19:24:16 +08:00
wren
adc1e0b8dc
feat: 交叉评查后端优化 — 评查地区、文档评查统计、currentScore、错误提示
...
- GetUserTasks: 新增 task_regions CTE,从任务成员 sso_users.area 去重收集 evaluationRegion
- GetTaskDocuments: 新增 es LATERAL 子查询聚合 leaudit_rule_results 的 pass_count/warning_count/error_count/score_percent;path/uploadTime 改为从 leaudit_document_files 获取;新增 fileExt
- ReviewPointResultVO: 新增 currentScore 字段
- _loadReviewPointResults: SQL 新增 approved_delta LATERAL 子查询,currentScore = base_score + SUM(approved_deltas)
- CrossReviewTaskItemVO: 新增 evaluationRegion
- CrossReviewTaskDocumentVO: 新增 18 个评查统计字段 + path/uploadTime/fileExt
- 文档更新:交叉评查核心模块业务逻辑文档补充评查地区、评查统计、版本号本地化等章节
2026-05-15 14:15:29 +08:00
wren
ccbd3ac8f3
fix: improve error message with actual typeId/groupId mismatch details for debugging
2026-05-13 20:18:25 +08:00
wren
ed60a1f8da
feat: add review_scope field to distinguish cross-review vs standard documents
2026-05-13 17:46:17 +08:00
wren
72bc24dfcd
fix: exclude cross-review task documents from regular document list
2026-05-13 17:43:18 +08:00
wren
913db5f514
fix: add file size and result stats to history version query and VO
2026-05-13 16:49:55 +08:00
wren
0a8f46008d
fix: remove sha256 duplicate check so re-upload always creates new version in group
2026-05-13 16:41:11 +08:00
wren
9eec45cbd0
fix: remove sha256 duplicate check so re-upload always creates new version in group
2026-05-13 16:32:42 +08:00
wren
e749abd9ed
fix: repair upload status and queue filtering
2026-05-11 20:26:27 +08:00
wren
e8a93f25a6
feat(audit): record login events and trigger users
2026-05-09 20:07:44 +08:00
wren
9c86bf59e5
feat: add rag backend and review access fixes
2026-05-08 10:58:24 +08:00
wren
1c84209f38
feat: migrate cross review to v3 leaudit flow
2026-05-07 18:18:59 +08:00
wren
35e0c45c42
refactor: remove document legacy binding reads
2026-05-07 18:06:20 +08:00
wren
f8eb2dc817
feat: migrate rule bindings to group-based flow
2026-05-07 17:43:20 +08:00
wren
0b76dce2a5
fix: preserve review field page positions in platform
2026-05-06 16:29:39 +08:00
wren
c4694e11f0
feat: add document type root management
2026-05-06 14:20:28 +08:00
wren
6ff1fb1cf6
fix: repair review detail attachment query
2026-05-06 10:01:21 +08:00
wren
2d3a0f31de
feat: complete review detail backend chain
2026-05-06 09:19:03 +08:00
wren
e6e129c70e
fix: parse date strings to date objects for asyncpg compatibility
2026-04-30 13:09:24 +08:00
wren
52c2bed4f9
feat: add document type CRUD with inline rule set binding
...
- GET/POST /api/document-types, GET/PUT/DELETE /api/document-types/{id}
- DocumentTypeItemVO extended with description, entryModuleId,
isEnabled, ruleSetIds
- Create/Update DTOs accept ruleSetIds array for automatic
leaudit_rule_type_bindings sync (full replace on update)
- Soft delete cascades to rule_type_bindings
2026-04-30 12:50:56 +08:00
wren
8f307aecba
feat: add document-types endpoint and date/user filters to list
...
- GET /api/document-types: returns {id, name, code} from
leaudit_document_types, with optional ?ids=1,2,3 filter
- GET /api/documents/list: added userId, dateFrom, dateTo
query params for filtering by uploading user and date range
2026-04-30 12:28:55 +08:00
wren
b45d61fa97
feat: add document versioning and list API
2026-04-29 11:48:50 +08:00
wren
e738398eb6
feat: wire native leaudit upload flow
2026-04-28 16:53:16 +08:00