mybatis-plus-plus(mpp)
针对mybatis-plus只能进行单表操作,通过使用此插件,可以支持两表关联查询
github: https://github.com/nullbull/mybatis-plus-plus
gitee: https://gitee.com/nullbull/mybatis-plus-plus 欢迎大家提需求,issue,改进意见,感谢各位
demo可见 https://github.com/nullbull/mybatis-plus-plus-demo
接入步骤
-
将代码down到本地,使用maven install
-
在自己的项目中添加依赖
<dependency> <groupId>com.github.mybatisplus</groupId> <artifactId>plus</artifactId> <version>1.0-SNAPSHOT</version> </dependency> -
配置方式
-
SpringBoot 配置
@Configuration public class MybatisPlusConfig { @Bean public Interceptor myInterceptor() { return new MyInterceptor();
-

mybatis-plus-plus (mpp) 是一个扩展mybatis-plus的插件,用于实现多表关联查询。提供了SpringBoot和Spring的配置方式,并包含详细的接入步骤和使用示例。

1万+

被折叠的 条评论
为什么被折叠?



