Update MPJLambdaWrapperX.java
parent
6a5a643b18
commit
92d3012995
|
@ -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