mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
兼容springboot 1.5.22
This commit is contained in:
parent
1af431641f
commit
8f51f86182
@ -31,13 +31,9 @@ public class InterceptorConfig implements ApplicationListener<ApplicationReadyEv
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public void onApplicationEvent(ApplicationReadyEvent event) {
|
||||
System.out.println("werwerewqrweqtwtrwqt\n\newqwerw\n\n");
|
||||
if (CollectionUtils.isNotEmpty(sqlSessionFactoryList)) {
|
||||
try {
|
||||
for (SqlSessionFactory factory : sqlSessionFactoryList) {
|
||||
System.out.println("WWwwwwwwwwwwwwwwwwwwww");
|
||||
System.out.println("\n\n\n\n\n");
|
||||
System.out.println("wwwwwwwwwwwwwwwwwwwwwwwwwwwww");
|
||||
Field interceptorChain = Configuration.class.getDeclaredField("interceptorChain");
|
||||
interceptorChain.setAccessible(true);
|
||||
InterceptorChain chain = (InterceptorChain) interceptorChain.get(factory.getConfiguration());
|
||||
|
Loading…
x
Reference in New Issue
Block a user