From 28fd28b0f6920c5a2f944bd4a17b7aef64c5ae92 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 18 May 2020 16:30:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=84=8F=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/com/synebula/gaea/query/mongo/MongoQuery.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gaea.mongo/src/main/kotlin/com/synebula/gaea/query/mongo/MongoQuery.kt b/src/gaea.mongo/src/main/kotlin/com/synebula/gaea/query/mongo/MongoQuery.kt index 0b8835c..6003b6a 100644 --- a/src/gaea.mongo/src/main/kotlin/com/synebula/gaea/query/mongo/MongoQuery.kt +++ b/src/gaea.mongo/src/main/kotlin/com/synebula/gaea/query/mongo/MongoQuery.kt @@ -120,7 +120,7 @@ open class MongoQuery(var repo: MongoTemplate, override var logger: ILogg if (this.clazz == null) throw RuntimeException("[${this.javaClass.name}] 没有声明查询View的类型") if (this._collection.isEmpty()) - this.logger?.warn(this, null, "[${this.clazz!!.name}]没有声明查询集合名称, 后续尝试使用View对象名称解析集合") + this.logger?.warn(this, "查询集合参数[collection]值为空, 尝试使用View<${this.clazz?.name}>名称解析集合") } }