Update MPJLambdaWrapperX.java
(cherry picked from commit 92d301299575efedf81a9cc5cd9c99951e9895d5)
This commit is contained in:
parent
fb135c2629
commit
d9d1445c6b
@ -41,7 +41,7 @@ public class MPJLambdaWrapperX<T> extends MPJLambdaWrapper<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public <S> MPJLambdaWrapperX<T> eqIfPresent(SFunction<S, ?> column, Object val) {
|
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 (MPJLambdaWrapperX<T>) super.eq(column, val);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user