1、新增充值支持赠送金;2、充值活动增删改查完善;

This commit is contained in:
gaoqr
2025-08-20 11:21:00 +08:00
parent 8229f086dd
commit e25c340782
21 changed files with 276 additions and 104 deletions
@@ -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;
}
}