Skip to content

Commit d6a09de

Browse files
committed
2026.09.09 | 端全面重构为 jQuery3 + Bootstrap 5.3 + CodeMirror 5
2026.09.09 | 🎨 前端全面重构为 jQuery3 + Bootstrap 5.3 + CodeMirror 5:全新 `newui3` 现代化界面,`data-bs-theme` 原生深/浅色模式(CodeMirror 双主题跟随),输出区按模板类型动态切换语法高亮(Java/XML/SQL/JSON/JS);新增 `app.js` 独立命名空间 `CodeGenApp`(与旧版 main.js 零冲突),补齐本地 mode 文件(sql/clike/xml/javascript);新增🏺古法印章开关(isHeritage,致敬古法编程非遗传承者);模板选择区改为组内联布局,`template.json` 支持 `tier` 字段分级(main 常驻 / legacy 折叠),折叠与选中状态 localStorage 记忆;修复 JDK23+ 下 Lombok 注解处理不生效的编译问题; |
1 parent 32f2a40 commit d6a09de

15 files changed

Lines changed: 1044 additions & 10 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ ResultVo.error(message);
309309

310310
| 更新日期 | 更新内容 |
311311
| :--------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
312+
| 2026.09.09 | 🎨 前端全面重构为 jQuery3 + Bootstrap 5.3 + CodeMirror 5:全新 `newui3` 现代化界面,`data-bs-theme` 原生深/浅色模式(CodeMirror 双主题跟随),输出区按模板类型动态切换语法高亮(Java/XML/SQL/JSON/JS);新增 `app.js` 独立命名空间 `CodeGenApp`(与旧版 main.js 零冲突),补齐本地 mode 文件(sql/clike/xml/javascript);新增🏺古法印章开关(isHeritage,致敬古法编程非遗传承者);模板选择区改为组内联布局,`template.json` 支持 `tier` 字段分级(main 常驻 / legacy 折叠),折叠与选中状态 localStorage 记忆;修复 JDK23+ 下 Lombok 注解处理不生效的编译问题; |
312313
| 2026.06.02 | 📦 新增"一键 ZIP 打包下载"功能:在生成按钮旁新增独立下载按钮,按模板 group 自动分目录打包成 ZIP;<br>支持 `template.json` 中 `fileName` 字段(含 `${className}` 占位符),智能推断文件后缀; |
313314
| 2025.12.09 | 优化Mybatis和Mybatis-Plus模板 |
314315
| 2025.12.08 | 引入单元测试和JaCoCo测试覆盖率,优化代码覆盖率 [UNIT\_TEST\_DOCUMENT.md](UNIT_TEST_DOCUMENT.md) |

‎pom.xml‎

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,28 @@
183183

184184

185185

186-
<build>
187-
<plugins>
188-
<plugin>
189-
<groupId>org.springframework.boot</groupId>
190-
<artifactId>spring-boot-maven-plugin</artifactId>
191-
</plugin>
192-
186+
<build>
187+
<plugins>
188+
<plugin>
189+
<groupId>org.springframework.boot</groupId>
190+
<artifactId>spring-boot-maven-plugin</artifactId>
191+
</plugin>
192+
193+
<!-- Maven Compiler Plugin:JDK23+ 默认禁用隐式注解处理,需显式声明 Lombok 处理器 -->
194+
<plugin>
195+
<groupId>org.apache.maven.plugins</groupId>
196+
<artifactId>maven-compiler-plugin</artifactId>
197+
<configuration>
198+
<annotationProcessorPaths>
199+
<path>
200+
<groupId>org.projectlombok</groupId>
201+
<artifactId>lombok</artifactId>
202+
<version>1.18.42</version>
203+
</path>
204+
</annotationProcessorPaths>
205+
</configuration>
206+
</plugin>
207+
193208
<!-- Maven Surefire Plugin for JUnit 5 -->
194209
<plugin>
195210
<groupId>org.apache.maven.plugins</groupId>

‎src/main/java/com/softdev/system/generator/controller/PageController.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ public class PageController {
1919

2020
@GetMapping("/")
2121
public ModelAndView defaultPage() {
22-
return new ModelAndView("newui2").addObject("value", valueUtil);
22+
return new ModelAndView("newui3").addObject("value", valueUtil);
2323
}
2424

2525
@GetMapping("/index")
2626
public ModelAndView indexPage() {
27-
return new ModelAndView("newui2").addObject("value", valueUtil);
27+
return new ModelAndView("newui3").addObject("value", valueUtil);
2828
}
2929

3030
}

0 commit comments

Comments
 (0)