Update MPJLambdaWrapperX.java

This commit is contained in:
fish steak
2025-05-05 10:25:34 +08:00
committed by GitHub
parent 6a5a643b18
commit 92d3012995

View File

@@ -41,7 +41,7 @@ public class MPJLambdaWrapperX<T> extends MPJLambdaWrapper<T> {
}
public <S> MPJLambdaWrapperX<T> eqIfPresent(SFunction<S, ?> column, Object val) {
if (val != null) {
if (ObjectUtil.isNotEmpty(val)) {
return (MPJLambdaWrapperX<T>) super.eq(column, val);
}
return this;