ssw
|
04517b5d89
|
v13-f2 Task 2.4: no-spa 菜单 (type=7) 0 误差 (5 样本, urlAddress token 模板, 4 字段 propertyJson)
|
2026-06-12 01:00:12 +08:00 |
|
claude
|
2505fc7cff
|
v13-f2 Task 2.3: Web 菜单 propertyJson 0 误差 (116 Web menu, 4 字段结构对齐)
基线: 拉 developSystem 48 + workSystem 68 = 116 Web menu 真实数据, 字段集验证 0 误差对齐.
修复:
- PropertyJsonBuilder.build: 4 字段 {moduleId, iconBackgroundColor, isTree, webType}, 删除冗余 (icon/iconBackground/moduleName/tableName)
- WebMenuBuilder: type=int 字段 (JNPF API 习惯); type=1 目录用 3 字段 (iconBackgroundColor+isTree+moduleId, NO webType); type=2 Vue 扩展用 3 字段 (NO webType, moduleId=''); type=3/9 用 4 字段 (含 webType); sortCode 从 extra 读
- AuthorizeFieldsBuilder: 字段名改成 isButtonAuthorize/isColumnAuthorize/isDataAuthorize/isFormAuthorize (JNPF 真实 API 字段名, 盲点 JNPF-30)
新增:
- WebMenuBuilderTest: 4 @Test (basic/propertyJson_structure/webTypes/dumpToFile) 全 PASS
- pom.xml: junit-jupiter 5.12.2 test scope
- scripts/pull-web-menus.sh: 拉 116 baseline
- scripts/menu-baseline-diff.sh: 0 误差验证 + baseline 字段集对照
- scripts/menu-baseline/{developSystem,workSystem}-web.jsonl: 116 真实 Web menu 数据 (48+68)
|
2026-06-12 00:47:41 +08:00 |
|
ssw
|
36936a872d
|
v13-f2: 拆 menu 包骨架 (5 type + 2 共享 + SPI, baseline 157 menu + type 分布)
- 拆 ssw.dacli.menu.builder 包: MenuBuilder 接口 + MenuBuildContext + 5 type builder
- WebMenuBuilder (type=1/2/3/9, 默认)
- NoSpaMenuBuilder (type=7, /ssw/{app}/... token 模板)
- DataReportMenuBuilder (type=5/6/8/10, bi/portal URL)
- LinkMenuBuilder (type=7, 完整 http:// 链接)
- ButtonMenuBuilder (type=0, 按钮, parentId 必非 -1)
- 共享 PropertyJsonBuilder + AuthorizeFieldsBuilder (4 authorize 必含)
- MenuBuilderFactory SPI 加载, 未注册 category 抛明确错误
- ssw.dacli.MenuBuilder 变轻量门面, 委派给 factory
- META-INF/services/ssw.dacli.menu.builder.MenuBuilder (5 行 SPI)
Task 2.1 baseline 157 menu (dev 54 + work 103) 收集 + type 分布:
docs/dacli/2/v13-f2-menu-type-distribution.md
docs/dacli/2/v13-f2-todo.md
注: baseline/{developSystem,workSystem}/menu/*.json 全部 0 字节
(v13 Phase 0 baseline-collect.sh 只建 ID 壳, 需 v14 修复)
本次用 dacli live API 拉真数据作 0 误差源
mvn -pl ssw-dacli -am clean compile -DskipTests ✓ BUILD SUCCESS
smoke test 5 SPI 加载 ✓ UnsupportedOperationException 错误信息正确
|
2026-06-12 00:25:08 +08:00 |
|
ssw
|
e5b19f5ef0
|
auto(1dc9423ac708): session end @ 2026-06-11T16:08:15 (+1f)
|
2026-06-11 16:08:16 +08:00 |
|
ssw
|
ad9471d5f7
|
auto(1dc9423ac708): session end @ 2026-06-11T15:10:26 (+1f)
|
2026-06-11 15:10:28 +08:00 |
|
ssw
|
12549103c8
|
auto(1dc9423ac708): session end @ 2026-06-11T13:44:23 (+1f)
|
2026-06-11 13:44:23 +08:00 |
|
ssw
|
d3ebd6c63e
|
auto(1dc9423ac708): session end @ 2026-06-11T13:42:38 (+1f)
|
2026-06-11 13:42:40 +08:00 |
|
ssw
|
4c86353e9f
|
auto(1dc9423ac708): session end @ 2026-06-11T12:21:15 (+1f)
|
2026-06-11 12:21:17 +08:00 |
|
ssw
|
04b8467b55
|
auto(1dc9423ac708): session end @ 2026-06-11T12:12:47 (+1f)
|
2026-06-11 12:12:49 +08:00 |
|
ssw
|
9a602d6f45
|
chore: pre-autopush snapshot @ 2026-06-11T10:05:43 (working tree snapshot)
|
2026-06-11 10:09:45 +08:00 |
|