diff --git a/orm/src/main/java/com/zfoo/orm/manager/IOrmManager.java b/orm/src/main/java/com/zfoo/orm/manager/IOrmManager.java index 757da10ab..e6dde761a 100644 --- a/orm/src/main/java/com/zfoo/orm/manager/IOrmManager.java +++ b/orm/src/main/java/com/zfoo/orm/manager/IOrmManager.java @@ -38,7 +38,6 @@ public interface IOrmManager { * CN:获取MongoClient,通过MongoClient可以获取到其它数据库或者做一些其它的复杂操作 */ MongoClient mongoClient(); - MongoDatabase mongoDatabase(); > IEntityCache getEntityCaches(Class clazz); diff --git a/orm/src/main/java/com/zfoo/orm/manager/OrmManager.java b/orm/src/main/java/com/zfoo/orm/manager/OrmManager.java index 27da2f984..44a1b1c84 100644 --- a/orm/src/main/java/com/zfoo/orm/manager/OrmManager.java +++ b/orm/src/main/java/com/zfoo/orm/manager/OrmManager.java @@ -231,11 +231,6 @@ public MongoClient mongoClient() { return mongoClient; } - @Override - public MongoDatabase mongoDatabase() { - return mongodbDatabase; - } - @Override public > IEntityCache getEntityCaches(Class clazz) { var usable = allEntityCachesUsableMap.get(clazz);