findFieldValueAs

fun <T> Any.findFieldValueAs(findSuper: Boolean? = null, query: FieldQuery.() -> Unit): T?

类型安全的查询条件查找字段值。

Parameters

findSuper

null=智能搜索(默认), false=仅当前类, true=强制搜索继承链

query

查询条件块