chore(deps): Spring Boot 2.5.15→2.7.18 + MyBatis Plus 3.5.5→3.5.16

升级内容:
- Spring Boot 2.5.15 → 2.7.18 (含 Spring Security 5.7, Tomcat 9.0.96)
- MyBatis Plus 3.5.5 → 3.5.16 (含 mybatis-plus-jsqlparser 拆分模块)
- JSqlParser 4.5 → 5.2 (MyBatis Plus 3.5.9+ 要求)
- PageHelper 1.4.7 → 2.1.1 (兼容 JSqlParser 5.x)
- mysql:mysql-connector-java → com.mysql:mysql-connector-j (Spring Boot 2.7 BOM 变更)

兼容性修复:
- FieldStrategy.IGNORED → FieldStrategy.NEVER (3.5.16 重命名)
- ScanOptionsBuilder → ScanOptions.scanOptions() 工厂方法
- saveOrUpdate(entity, wrapper) → saveOrUpdate(entity) (wrapper 签名移除)
- PermitAllUrlProperties: getBean(class) → getBean(name,class) + null 检查
- application.yml: 添加 spring.mvc.pathmatch.matching-strategy=ant-path-matcher
- application.yml: 禁用 springfox (与 Spring Boot 2.7 不兼容)

验证结果:
-  mvn clean package -DskipTests BUILD SUCCESS
-  登录接口 HTTP 200
-  分页查询 (数据字典 326 条, 用户 84 条)
-  路由信息 (22 个顶级菜单)
-  流程引擎 (Flowable) 正常初始化
This commit is contained in:
2026-06-04 13:34:35 +08:00
parent bb7eb2eca7
commit dbe146725a
14 changed files with 465 additions and 37 deletions

View File

@@ -62,3 +62,24 @@
- ✅ API 代理 HTTP 200
- ✅ 1825 文件107M
---
## 后端组件升级进度
### Phase 1: 安全修复
- [x] 1.1 BouncyCastle 1.69 → 1.80 (jdk15on → jdk18on) ✅ 2026-06-04
### Phase 2: 连接池 & 工具库
- [x] 2.1 Druid 1.2.27 → 1.2.28 ✅ 2026-06-04
- [x] 2.2 Fastjson2 2.0.58 → 2.0.61 ✅ 2026-06-04
- [x] 2.3 Hutool 5.3.8 → 5.8.35 ✅ 2026-06-04
### Phase 3: 监控 & IO
- [x] 3.1 OSHI 6.6.5 → 6.10.0 ✅ 2026-06-04
- [x] 3.2 Commons IO 2.13.0 → 2.21.0 ✅ 2026-06-04
- [x] 3.3 PostgreSQL 42.2.27 → 42.7.4 ✅ 2026-06-04
### Phase 5: PDF
- [x] 5.1 itextpdf 5.5.12 → 5.5.13.4 ✅ 2026-06-04