mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
solon-plugin
This commit is contained in:
parent
e021c8281b
commit
75fc373f2c
9
mybatis-plus-join-solon-plugin/README.md
Normal file
9
mybatis-plus-join-solon-plugin/README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
## mybatis-plus-join-solon-plugin
|
||||||
|
|
||||||
|
```xml
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.yulichang</groupId>
|
||||||
|
<artifactId>mybatis-plus-join-solon-plugin</artifactId>
|
||||||
|
<version>lastVersion</version>
|
||||||
|
</dependency>
|
||||||
|
```
|
@ -84,7 +84,7 @@ public class XPluginImpl implements Plugin {
|
|||||||
context.onEvent(AppLoadEndEvent.class, e -> {
|
context.onEvent(AppLoadEndEvent.class, e -> {
|
||||||
List<SqlSessionFactory> sqlSessionFactoryList = MybatisAdapterManager.getAll().values().stream()
|
List<SqlSessionFactory> sqlSessionFactoryList = MybatisAdapterManager.getAll().values().stream()
|
||||||
.map(MybatisAdapter::getFactory).collect(Collectors.toList());
|
.map(MybatisAdapter::getFactory).collect(Collectors.toList());
|
||||||
new MPJInterceptorConfig(sqlSessionFactoryList, false);
|
new MPJInterceptorConfig(sqlSessionFactoryList, ConfigProperties.banner);
|
||||||
MappingConfig.init();
|
MappingConfig.init();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user