You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<html>Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:<br/>public fun KExpression<*>.isNotNull(): KNonNullExpression<Boolean> defined in org.babyfish.jimmer.sql.kt.ast.expression
pot-mot
changed the title
[BUG] Output DTO predicate '!where(propertyName is not null)'在Kotlin下没有正确导入扩展方法,因此在编译时产生类型不匹配报错
[BUG] Output DTO predicate '!where(fkPropertyName is not null)'在Kotlin下没有正确导入扩展方法,因此在编译时产生类型不匹配报错
Feb 10, 2025
Jimmer Version
0.9.49
JDK Version
JDK21
Database
PostgreSQL
OS
Windows
当我使用了
!where(fkPropertyName is not null)
,isNotNull() 扩展函数出现类型不匹配错误:由于此时 is null 判断的是外键属性,正确的导入应该是 table 包下的:
此时导入的 isNotNull 是 expression 包下的:
The text was updated successfully, but these errors were encountered: