mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 05:12:07 +08:00
1、新增充值支持赠送金;2、充值活动增删改查完善;
This commit is contained in:
+10
@@ -23,4 +23,14 @@ public class LambdaUpdateWrapperX<T> extends LambdaUpdateWrapper<T> {
|
||||
super.eq(column, val);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 当条件存在时set
|
||||
*/
|
||||
public LambdaUpdateWrapperX<T> setIfPresent(SFunction<T, ?> column, Object val) {
|
||||
if (ObjectUtil.isNotEmpty(val)) {
|
||||
return (LambdaUpdateWrapperX<T>) super.set(column, val);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user