mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-03 07:13:51 +00:00
delete[zfoo]: 删除无用的代码
This commit is contained in:
1 parent
a7d855e2e8
commit
2ba6cb2cde
4 files changed
-13
No files matched your search
@@ -76,9 +76,6 @@ public class OrmContext implements ApplicationListener<ApplicationContextEvent>,
|
||||
@Override
|
||||
public void onApplicationEvent(ApplicationContextEvent event) {
|
||||
if (event instanceof ContextRefreshedEvent) {
|
||||
if (instance != null) {
|
||||
return;
|
||||
}
|
||||
OrmContext.instance = this;
|
||||
instance.applicationContext = event.getApplicationContext();
|
||||
|
||||
|
||||
Reference in new issue
Block a user