Commit Graph

139 Commits

Author SHA1 Message Date
ccd74710fa fix schedule job notify editor
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 17:15:10 +08:00
62188a557f docs: verify treegrid entity filtering
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 16:44:21 +08:00
d218c2ba6f fix framework treegrid search and formeditgrid editors 2026-06-18 16:35:51 +08:00
b6e6964913 fix framework p2 custom views 2026-06-18 15:35:17 +08:00
55b9c201d6 docs: mark framework P2 gate complete
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 13:25:30 +08:00
75885f9d7d docs: mark framework P2 complete
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 11:19:22 +08:00
5636b37220 feat: complete framework P2 deltas 2026-06-18 11:18:40 +08:00
be9d1c8e71 docs: record work calendar status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 10:27:08 +08:00
03bf036d87 docs: record treegrid entity filtering status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 10:10:28 +08:00
9cdd043af3 docs: record schedule and data import status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 10:01:15 +08:00
46dfa9c5a2 docs: record script editor status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 09:40:36 +08:00
0b8a9c4ce4 docs: record process monitor status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 09:03:45 +08:00
7192c2aaa6 docs: record process form removal status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 08:56:10 +08:00
d82ef94da8 docs: record workflow task commit hash
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 08:12:54 +08:00
61f31527bc feat: wire my started workflow tasks 2026-06-18 08:12:15 +08:00
f736d33a20 docs(platform): record approval history completion
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 02:13:09 +08:00
21e3865dcf fix(platform): restore approval history drawer 2026-06-18 02:12:27 +08:00
278b0da422 fix(platform): resolve picker load defaults
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 01:51:59 +08:00
cfb7451e62 docs: update framework todo for short message
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 01:19:58 +08:00
f690f30552 fix(platform): repair message detail views
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 00:49:03 +08:00
bf7bb2515b fix(platform): complete picker parity and message detail
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-18 00:30:01 +08:00
c380659ef0 docs: update picker todo status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-17 23:56:20 +08:00
88ff6f6bfb feat(metadata): wire legacy process selector
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-17 21:45:12 +08:00
1581a99d75 feat(metadata): wire legacy user select picker
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-17 21:31:11 +08:00
380d1f17ca docs: update framework todo verification status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-17 21:06:50 +08:00
5ea4607817 docs: correct framework todo completion status
Some checks failed
ci / build-test-parity (push) Has been cancelled
2026-06-17 20:58:12 +08:00
7fd11fe6a4 docs: add framework todo tracker 2026-06-17 20:50:32 +08:00
5946afa6e6 docs: 同步本会话进展到状态总览(real-first/树编辑布局/时间段过滤+Wave A两项)
Some checks failed
ci / build-test-parity (push) Has been cancelled
README §0/§1.1/§1.3 更新:
- §1.3 横向能力新增 3 个全站通用保真修复(树编辑 <layout> 布局保真、搜索时间段
  过滤 date-range→DateTime[]、real-first 流解析)+ 机制①扩出整页改写器。
- §1.1 功能模板下载/枚举组 → ✅,日志组 → 🟡(删除按钮接+real-first修通+时间段通)。
- §0 加本会话进展提要(6 提交已 push origin/main)。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 18:02:20 +08:00
1b69f8b481 docs: 统一项目文档进 eip4-platform/docs + 新增进度路线总览
Some checks failed
ci / build-test-parity (push) Has been cancelled
- 从工作区根 docs/(非 git,未版本化)合并全部文档进版本控制,消除文档两头分裂
- 新增 README(状态总览+模块完成度+全文档索引)、项目进度与路线-总览-2026-06-17(A兼容/B新功能+关键路径+待拍板决策)
- 被取代的冲突状态/审计快照归入 归档/;对最易误导的两份("16视图已交付"实现交付报告、06-13架构快照)加"已归档"横幅
- 现行权威:engineclass移植backlog(46视图) + 用户管理Delta移植(方法论/交接) + 组件设计体系 + 通用模板收口 + 客户沟通
- 诚实口径:纵向模块仅用户管理 parity,横向引擎地基较全,余 153 定制视图(47 framework+106 业务)多为通用页已产·delta 未移植

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 14:53:29 +08:00
4b2cedfd1d feat: add AI page preview URL 2026-06-17 14:17:53 +08:00
d91da77038 feat: add AI render plan gate 2026-06-17 13:28:49 +08:00
718c5a5b9b feat: add AI tree CRUD recipe 2026-06-17 13:03:38 +08:00
2b0b673ce9 feat: expose AI page recipes 2026-06-17 12:38:26 +08:00
fcc5719bc6 feat: enforce AI page recipe gate 2026-06-17 12:33:09 +08:00
e55072598e feat: add AI page blueprint compiler 2026-06-17 12:14:57 +08:00
8bdde45e89 feat: add AI tool access registry 2026-06-17 08:45:56 +08:00
5eb95a4ef4 feat: add typed page schema registry 2026-06-17 08:39:51 +08:00
b05f0e89b5 feat: add release diff rollback plan 2026-06-17 08:33:47 +08:00
ade5e91ac1 feat: add feature package export preview 2026-06-17 08:30:20 +08:00
5f7e226fa0 feat: add CLI env registry and release verification 2026-06-17 08:21:40 +08:00
c5bfbd3ca3 feat: add AI feature package revisions 2026-06-17 07:56:45 +08:00
5bf641838a feat: add EIP4 agent CLI and skills plan 2026-06-17 07:47:22 +08:00
3b4d3dbd24 feat: add AI agent auto-development pipeline 2026-06-17 07:32:54 +08:00
bf5659590f chore: 清理可再生 schema 产物 + gitignore 收口 + 菜单维护树计划/SQL
删除已跟踪的 batch_regression schema 产物(BatchConvertCli 可重生,体量大);.gitignore 屏蔽 tools/s3_rewriter/output/schema{,_out,_wsd}(各~20M)与 output 下重生副本分级清单.csv。补 2026-06-15 菜单维护树模式重建与树选择框修复计划 + menu_maintain 主子表 upsert SQL。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:09:00 +08:00
f806653108 docs(plans): 新闻管理垂直切片 + onEvent 脚本挂回 实施计划
记录本轮垂直切片(WS-A 菜单/WS-B onEvent按钮联动/WS-C 收藏树/WS-D 附件+发布人/
WS-E 验收+3小修)的根因、设计与分阶段任务,作为其余功能的修复模板。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 19:44:01 +08:00
5d12613034 perf(WS-D I1): /api/file/list 去函数包列 + sys_doc 函数式部分索引(全表扫→Index Scan)
I1 性能(必修):
- 根因: GET /api/file/list 原查询 WHERE UPPER(tablename)=? AND TRIM(businesskey)=?
  AND isactive=1 —— 列被函数包裹(非 sargable),sys_doc 33.8 万行仅 PK 索引
  → 每次附件页渲染 Parallel Seq Scan 全表(amis service 容器每渲必打本端点;
  EXPLAIN cost ~18572)。
- 修(FileController.list 查询):
  · tablename 列本就全大写(DB 实测 tablename<>upper(tablename) 计数 0),app 侧已
    tableName.trim().toUpperCase() → 去 UPPER 改 tablename = ?(sargable)。
  · businesskey 不能简单 = trimmed: DB 实测 13000 行存「32 位 UUID + 4 空格 padding
    至 36」CHAR 补白遗留(业务 PK 为 character(36)),naive businesskey=trimmed 会
    漏列这 13000 行附件 → 保留 trim 语义改 rtrim(businesskey) = ?,配函数式索引使其
    sargable。全程 ? 绑定(防注入,无拼接)。
- 索引 DDL: docs/sql/SYS_DOC_INDEX.sql
    CREATE INDEX IF NOT EXISTS ix_sys_doc_biz
      ON eip3.sys_doc (tablename, rtrim(businesskey)) WHERE isactive = 1;
  已应用到 eip4dev(含 COMMENT,幂等)。客户库排切流窗口执行(与现有 docs/sql/* 同放
  同风格;P5 Flyway 待办同 SYS_PAGE_SCHEMA.sql)。
- 验证(eip4dev): EXPLAIN Seq Scan(cost 18572) → Index Scan using ix_sys_doc_biz
  (cost 8.44, exec 0.038ms); 补白键 OA_NOTICEMANAGE + 横线键 OA_NEWSMANAGE 均命中。
  8093 重启含新 jar 后 /api/file/list 两种键风格均正常返附件(含 13000 行补白键场景)。

补测试:
- FileControllerTest #5 注入安全(priority 契约): 恶意 tableName/businessKey 不抛、返空,
  ArgumentCaptor 断言走 ? 绑定(SQL 文本为静态参数化语句不含用户串,用户原串作绑定值)。
- TemplateToAmisConverterTest 新增 skip-guard: 表名 ORPHAN_*(SYS_ENTITY 解析不到)→
  enrichAttachmentFields 降级守卫生效,附件字段保留原 input-file 不包 service。
- 测试全绿: FileControllerTest 5/5, TemplateToAmisConverterTest 93/93(JDK21)。

M4: buildAttachmentField 加注释说明 service.name 与内层 input-file 同名(DOCUMENT)
  仅作布局归位 key,表单值由内层 input-file 绑定,amis 容忍(已浏览器验证)。

I2(已知系统级后续项,本次不修): /api/file/list 及 download 无行级数据权限——任意已认证
  用户可枚举任意业务记录附件,与现有 download/flow 同 posture(生产仅认证可访问)。
  TODO 注释标于 FileController.list javadoc。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 18:20:38 +08:00
7a8a86b87d docs: CRUD 全面 QA 发现与剩余问题清单(2026-06-14)
记录本会话用户 dogfooding 修复(审批/treeGrid/id→名统一/DEPARTID-ORGID)+ CRUD QA 结论,
及剩余待办:19 列表页缺 EDITFORM 映射、2 列悬挂 referenceid 乱填、用户类引用列 NVARCHAR 同病。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 12:25:03 +08:00
48dec13719 RBAC 管理后台对齐老系统:用户/角色/部门/菜单/数据权限 增删改 + amis 管理页(A1–A5)
A1 SYS_MENU CRUD(软删+清role_menu+有子拒删)+menuAll isGroup+sys-admin-menu crud树
A2 用户 reset-password(MD5 110)+sys-admin-user 新建/编辑/停用/重置按钮
A3 SYS_ROLE CRUD(删清三关联表+evictAll)+sys-admin-role 新建/编辑/删除
A4 SYS_DEPART CRUD(有子拒删)+departs/tree 读端点+新页 sys-admin-depart
A5 sys_filterrule CRUD+set-roles+filterrules/{id}/roles+sys-admin-filterrule 授权UI
AdminWriteControllerTest 35测 + AdminUserControllerTest 3测;全部 API e2e 对真实库 + 浏览器验收

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 02:03:51 +08:00
8a16e12101 docs: 提交审批端到端 processCoreService 桥接 bean 设计(MVP,brainstorming 收敛)
逐流写 QA dogfooding 深挖 no-service 定位:248 SUBMIT/审批流调 processCoreService.startWorkflow
未注册。设计 platform-flow-gateway @Component("processCoreService") 桥接 bean(引擎反射调,
不 implements 25 方法接口),桥到既有 FlowableClient.start(8089) + StatusWriteback(SYS_DATASTATUS),
MVP 仅 start+状态(NOSUBMIT1→PROCESSING2/PASS3)。显式前置依赖:客户审批 BPMN 部署进 flowable-service
+ processName(中文名)→流程定义 key 匹配(dev eip4flow 仅 demo);自动过流程发起/重提交后置。
待 writing-plans / TDD 实施。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 00:56:29 +08:00
d3986031d2 dev 运行环境固化为 JDK 21 + 守卫启动脚本(防误用 JDK 26 致 Groovy 崩)
QA 全量巡检发现:dev 平台默认跑 homebrew openjdk(现为 26),致保真层服务流的
Groovy 4.0.27 在运行时解析 JDK 26 类(major 70)崩(GroovyBugError),35+ 命名查询流 500。
根因与 F2-13「报表 500」同族(那次修了编译目标 release=21,但运行时 JDK 仍可能是 26)。

- scripts/run-dev.sh:一键启动 platform/flowable,强制定位并校验 JDK 21(brew openjdk@21),
  非 21 拒启;轮询等端口释放再起,防多实例/旧 JDK 残留。
- README:新增「运行环境必读:必须 JDK 21」,纠正过时的 openjdk@17 示例。
- 架构设计.md:运行时 JDK 17 → 21,补「不可用 JDK 26 / 升 JDK 须同步升 Groovy、目标 25」红线。

实测:platform(8093)+ flowable(8089)均切到 openjdk@21,登录/待办/服务流查询正常;
此前 JDK 26 下 500 的 PM_LABORCOMPANY_SEARCH_LISTINFO 等恢复返数据。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 20:09:49 +08:00