public class UpdateChain<T> extends QueryWrapperAdapter<UpdateChain<T>> implements PropertySetter<UpdateChain<T>>
| 限定符和类型 | 字段和说明 |
|---|---|
private BaseMapper<T> |
baseMapper |
private T |
entity |
private UpdateWrapper |
entityWrapper |
context, dataSource, endFragments, groupByColumns, havingQueryCondition, hint, joins, joinTables, limitOffset, limitRows, orderBys, queryTables, selectColumns, unions, whereQueryCondition, with| 构造器和说明 |
|---|
UpdateChain(BaseMapper<T> baseMapper) |
UpdateChain(BaseMapper<T> baseMapper,
T entityObject) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> UpdateChain<E> |
create(BaseMapper<E> baseMapper) |
private T |
createEntity(Class<?> mapperClass) |
static <T> UpdateChain<T> |
of(BaseMapper<T> baseMapper) |
static <T> UpdateChain<T> |
of(Class<T> entityClass) |
static <T> UpdateChain<T> |
of(T entityObject) |
static <T> UpdateChain<T> |
of(T entityObject,
BaseMapper<T> baseMapper) |
boolean |
remove() |
<L> UpdateChain<T> |
set(LambdaGetter<L> getter,
Object value,
boolean isEffective)
设置字段对应参数值。
|
UpdateChain<T> |
set(QueryColumn queryColumn,
Object value,
boolean isEffective)
设置字段对应参数值。
|
UpdateChain<T> |
set(String property,
Object value,
boolean isEffective)
设置字段对应参数值。
|
<L> UpdateChain<T> |
setRaw(LambdaGetter<L> getter,
Object value,
boolean isEffective)
设置字段对应原生值。
|
UpdateChain<T> |
setRaw(QueryColumn queryColumn,
Object value,
boolean isEffective)
设置字段对应原生值。
|
UpdateChain<T> |
setRaw(String property,
Object value,
boolean isEffective)
设置字段对应原生值。
|
String |
toSQL() |
boolean |
update() |
and, and, and, and, and, and, and, and, as, between, between, between, between, between, between, clone, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, crossJoin, datasource, eq, eq, eq, eq, eq, eq, forUpdate, forUpdateNoWait, from, from, from, from, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, ge, ge, ge, ge, ge, ge, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, gt, gt, gt, gt, gt, gt, having, hint, in, in, in, in, in, in, in, in, in, in, in, in, in, in, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, isNull, isNull, isNull, join, join, join, join, join, join, join, le, le, le, le, le, le, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, like, like, like, like, like, like, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeRight, likeRight, likeRight, likeRight, likeRight, likeRight, limit, limit, lt, lt, lt, lt, lt, lt, ne, ne, ne, ne, ne, ne, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notLike, notLike, notLike, notLike, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, notLikeRight, notLikeRight, notLikeRight, notLikeRight, offset, or, or, or, or, or, or, or, or, orderBy, orderBy, orderBy, orderBy, orderBy, orderBy, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, select, select, select, select, select, select, select, union, unionAll, where, where, where, where, where, where, where, with, with, withRecursive, withRecursiveand, connectMap, create, create, create, create, create, hasCondition, joining, joining, joining, or, orderByUnSafelyaddEndFragment, addGroupByColumns, addHavingQueryCondition, addJoin, addJoinTable, addOrderBy, addSelectColumn, addWhereQueryCondition, addWhereQueryCondition, clear, getContext, getContext, getDataSource, getEndFragments, getGroupByColumns, getHavingQueryCondition, getHint, getJoins, getJoinTables, getLimitOffset, getLimitRows, getOrderBys, getQueryTables, getSelectColumns, getUnions, getWhereQueryCondition, putContext, setContext, setDataSource, setEndFragments, setGroupByColumns, setHavingQueryCondition, setHint, setJoins, setJoinTables, setLimitOffset, setLimitRows, setOrderBys, setQueryTables, setSelectColumns, setUnions, setWhereQueryConditionprivate final BaseMapper<T> baseMapper
private final UpdateWrapper entityWrapper
public UpdateChain(BaseMapper<T> baseMapper)
public UpdateChain(BaseMapper<T> baseMapper, T entityObject)
public static <T> UpdateChain<T> of(Class<T> entityClass)
public static <T> UpdateChain<T> of(BaseMapper<T> baseMapper)
public static <T> UpdateChain<T> of(T entityObject)
public static <T> UpdateChain<T> of(T entityObject, BaseMapper<T> baseMapper)
private T createEntity(Class<?> mapperClass)
public static <E> UpdateChain<E> create(BaseMapper<E> baseMapper)
public UpdateChain<T> set(String property, Object value, boolean isEffective)
PropertySetterset 在接口中 PropertySetter<UpdateChain<T>>property - 字段名value - 参数值isEffective - 是否生效public UpdateChain<T> set(QueryColumn queryColumn, Object value, boolean isEffective)
PropertySetterset 在接口中 PropertySetter<UpdateChain<T>>queryColumn - 字段名value - 参数值isEffective - 是否生效public <L> UpdateChain<T> set(LambdaGetter<L> getter, Object value, boolean isEffective)
PropertySetterset 在接口中 PropertySetter<UpdateChain<T>>getter - 字段名value - 参数值isEffective - 是否生效public UpdateChain<T> setRaw(String property, Object value, boolean isEffective)
PropertySettersetRaw 在接口中 PropertySetter<UpdateChain<T>>property - 字段名value - 原生值isEffective - 是否生效public UpdateChain<T> setRaw(QueryColumn queryColumn, Object value, boolean isEffective)
PropertySettersetRaw 在接口中 PropertySetter<UpdateChain<T>>queryColumn - 字段名value - 原生值isEffective - 是否生效public <L> UpdateChain<T> setRaw(LambdaGetter<L> getter, Object value, boolean isEffective)
PropertySettersetRaw 在接口中 PropertySetter<UpdateChain<T>>getter - 字段名value - 原生值isEffective - 是否生效public boolean remove()
public boolean update()
public String toSQL()
toSQL 在类中 QueryWrapperCopyright © 2025. All rights reserved.