heritage-backend/heritage-mybatisplus/pom.xml
Leo 6e36d9ab83 feat: 新增heritage-mybatisplus数据访问层模块
- 新增MyBatis Plus配置类,配置分页插件和自动填充
- 新增自定义ID生成器,使用雪花算法
- 新增系统相关Mapper接口:用户、角色、菜单、字典等
- 新增Mapper XML映射文件,定义SQL查询语句
- 配置@EnableMybatisPlus注解,启用MyBatis Plus功能
2025-10-08 02:06:18 +08:00

46 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-backend</artifactId>
<version>${revision}</version>
</parent>
<name>coder-mybatis-plus</name>
<artifactId>heritage-mybatisplus</artifactId>
<description>MybatisPlus插件</description>
<dependencies>
<!-- Mapper针对pojo,bo,vo,dto等依赖进来 -->
<dependency>
<groupId>org.leocoder.heritage</groupId>
<artifactId>heritage-model</artifactId>
<version>${revision}</version>
</dependency>
<!-- MySQL数据库连接依赖[只有接口工程需要] -->
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
</dependency>
<!-- Mapper会用到MyBatisPlus的类 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-spring-boot3-starter</artifactId>
</dependency>
<!-- MyBatisPlus PaginationInnerInterceptor分离插件 -->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-jsqlparser</artifactId>
</dependency>
<!-- p6spy SQL打印 -->
<dependency>
<groupId>p6spy</groupId>
<artifactId>p6spy</artifactId>
</dependency>
</dependencies>
</project>