添加mybatis

This commit is contained in:
2025-07-03 00:31:56 +08:00
parent 10fd6772d0
commit f097de06cc
5 changed files with 69 additions and 0 deletions

21
pom.xml
View File

@ -119,6 +119,27 @@
<version>2.3.1</version>
</dependency>
<!-- MyBatis Plus -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
<version>3.5.3.1</version> <!-- 支持 Java 8 的稳定版本 -->
</dependency>
<!-- MyBatis Plus Generator (可选:用于生成实体类/DAO/Service) -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>3.5.1</version>
</dependency>
<!-- freemarker 模板引擎(配合 MP Generator 使用) -->
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.31</version>
</dependency>
<!-- MySQL 驱动 -->
<dependency>
<groupId>mysql</groupId>