solon-plugin

This commit is contained in:
yulichang 2023-12-30 14:52:32 +08:00
parent e021c8281b
commit 75fc373f2c
2 changed files with 10 additions and 1 deletions

View 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>
```

View File

@ -84,7 +84,7 @@ public class XPluginImpl implements Plugin {
context.onEvent(AppLoadEndEvent.class, e -> {
List<SqlSessionFactory> sqlSessionFactoryList = MybatisAdapterManager.getAll().values().stream()
.map(MybatisAdapter::getFactory).collect(Collectors.toList());
new MPJInterceptorConfig(sqlSessionFactoryList, false);
new MPJInterceptorConfig(sqlSessionFactoryList, ConfigProperties.banner);
MappingConfig.init();
});
}