mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
update to 1.1.5
This commit is contained in:
parent
61071d49e3
commit
f16f10f0c8
26
README.md
26
README.md
@ -5,7 +5,6 @@
|
|||||||
* [演示示例](https://gitee.com/best_handsome/mybatis-plus-join-demo)
|
* [演示示例](https://gitee.com/best_handsome/mybatis-plus-join-demo)
|
||||||
|
|
||||||
QQ群:1022221898
|
QQ群:1022221898
|
||||||
[扫码进微信群](https://gitee.com/best_handsome/mybatis-plus-join/blob/master/wx.png)
|
|
||||||
|
|
||||||
## 使用方法
|
## 使用方法
|
||||||
|
|
||||||
@ -23,36 +22,13 @@ QQ群:1022221898
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.yulichang</groupId>
|
<groupId>com.github.yulichang</groupId>
|
||||||
<artifactId>mybatis-plus-join</artifactId>
|
<artifactId>mybatis-plus-join</artifactId>
|
||||||
<version>1.1.4</version>
|
<version>1.1.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
或者clone代码到本地,执行mvn install,再引入以上依赖
|
或者clone代码到本地,执行mvn install,再引入以上依赖
|
||||||
<br>
|
<br>
|
||||||
注意: mybatis plus version >= 3.4.0
|
注意: mybatis plus version >= 3.4.0
|
||||||
<br><br>
|
<br><br>
|
||||||
2. 添加配置文件
|
|
||||||
|
|
||||||
```java
|
|
||||||
|
|
||||||
@Configuration
|
|
||||||
public class MybatisPlusConfig {
|
|
||||||
/**
|
|
||||||
* 连表拦截器
|
|
||||||
*/
|
|
||||||
@Bean
|
|
||||||
public MPJInterceptor mpjInterceptor() {
|
|
||||||
return new MPJInterceptor();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 连表sql注入器
|
|
||||||
*/
|
|
||||||
@Bean
|
|
||||||
public MPJSqlInjector sqlInjector() {
|
|
||||||
return new MPJSqlInjector();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### 使用
|
### 使用
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.github.yulichang</groupId>
|
<groupId>com.github.yulichang</groupId>
|
||||||
<artifactId>mybatis-plus-join</artifactId>
|
<artifactId>mybatis-plus-join</artifactId>
|
||||||
<version>1.1.4</version>
|
<version>1.1.5</version>
|
||||||
<name>mybatis-plus-join</name>
|
<name>mybatis-plus-join</name>
|
||||||
<description>An enhanced toolkit of Mybatis-Plus to simplify development.</description>
|
<description>An enhanced toolkit of Mybatis-Plus to simplify development.</description>
|
||||||
<url>https://github.com/yulichang/mybatis-plus-join</url>
|
<url>https://github.com/yulichang/mybatis-plus-join</url>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user