public class LambdaUpdateWrapper<T> extends AbstractWrapper<T,LambdaUpdateWrapper<T>,cn.hutool.core.lang.func.Func1<T,?>> implements WrapperLambda<T,LambdaUpdateWrapper<T>>, WrapperUpdate<T,LambdaUpdateWrapper<T>,cn.hutool.core.lang.func.Func1<T,?>>
| 限定符和类型 | 字段和说明 |
|---|---|
private List<String> |
setSqls |
private String |
tableName |
private List<Object> |
values |
entityClass, paramIndex| 构造器和说明 |
|---|
LambdaUpdateWrapper() |
LambdaUpdateWrapper(Class<T> entityClass) |
LambdaUpdateWrapper(T entity) |
| 限定符和类型 | 方法和说明 |
|---|---|
SQLInfo<T> |
build()
编译成SQL
|
LambdaUpdateWrapper<T> |
set(boolean condition,
cn.hutool.core.lang.func.Func1<T,?> column,
Object value) |
<V> LambdaUpdateWrapper<T> |
set(cn.hutool.core.lang.func.Func1<T,V> column,
V value) |
void |
setTableName(String tableName) |
UpdateWrapper<T> |
update() |
and, and, between, eq, exists, ge, getColumn, getEntityClass, getWhereSql, getWrap, gt, in, in, in, isNotNull, isNull, le, like, likeLeft, likeRight, lt, ne, notExists, notIn, notIn, notIn, notLike, notLikeLeft, notLikeRight, or, or, resetSqlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetand, and, and, and, between, between, eq, eq, exists, exists, ge, ge, gt, gt, in, in, in, in, in, in, isNotNull, isNotNull, isNull, isNull, le, le, like, like, likeLeft, likeLeft, likeRight, likeRight, lt, lt, ne, ne, notExists, notExists, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, or, or, or, orgetEntityClass, getWhereSqlprivate String tableName
public LambdaUpdateWrapper()
public LambdaUpdateWrapper(T entity)
public <V> LambdaUpdateWrapper<T> set(cn.hutool.core.lang.func.Func1<T,V> column, V value)
public LambdaUpdateWrapper<T> set(boolean condition, cn.hutool.core.lang.func.Func1<T,?> column, Object value)
set 在接口中 WrapperUpdate<T,LambdaUpdateWrapper<T>,cn.hutool.core.lang.func.Func1<T,?>>public void setTableName(String tableName)
setTableName 在接口中 WrapperUpdate<T,LambdaUpdateWrapper<T>,cn.hutool.core.lang.func.Func1<T,?>>public UpdateWrapper<T> update()
public SQLInfo<T> build()
BaseWrapperbuild 在接口中 BaseWrapper<T,cn.hutool.core.lang.func.Func1<T,?>>build 在类中 AbstractWrapper<T,LambdaUpdateWrapper<T>,cn.hutool.core.lang.func.Func1<T,?>>Copyright © 2024. All rights reserved.