mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
28 lines
565 B
Markdown
28 lines
565 B
Markdown
## mybatis-plus-join-solon-plugin
|
|
|
|
```xml
|
|
<dependency>
|
|
<groupId>com.github.yulichang</groupId>
|
|
<artifactId>mybatis-plus-join-solon-plugin</artifactId>
|
|
<version>lastVersion</version>
|
|
</dependency>
|
|
```
|
|
|
|
#### Tips:
|
|
如果出现 `Invalid bound statement (not found)` 添加如下配置
|
|
```yml
|
|
mybatis.db1:
|
|
globalConfig:
|
|
sqlInjector: com.github.yulichang.injector.MPJSqlInjector
|
|
```
|
|
|
|
### mapper继承MPJBaseMapper
|
|
|
|
```java
|
|
import com.github.yulichang.base.MPJBaseMapper;
|
|
|
|
@Mapper
|
|
public interface UserMapper extends MPJBaseMapper<UserDO> {
|
|
|
|
}
|
|
``` |