fix(jpa): 修正查询条件中 notEqual 方法的错误调用
在 SimpleServiceSupport 中,notEqual 查询条件错误地调用了 getEqual 方法,已修正为 getNotEqual 方法。
This commit is contained in:
@@ -288,7 +288,7 @@ public abstract class SimpleServiceSupport<ENTITY extends SimpleEntity> implemen
|
||||
});
|
||||
}
|
||||
if (ObjectHelper.isNotEmpty(queryable.getNotEqual())) {
|
||||
queryable.getEqual().forEach((column, value) -> {
|
||||
queryable.getNotEqual().forEach((column, value) -> {
|
||||
var path = column(root, column);
|
||||
predicates.add(builder.notEqual(path, value(path, value)));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user