public class KtUpdateJoinWrapper<T> extends KtAbstractLambdaWrapper<T,KtUpdateJoinWrapper<T>> implements Update<KtUpdateJoinWrapper<T>>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
KtUpdateJoinWrapper.UpdateSet |
KtAbstractWrapper.DoSomethingalias, dynamicTableName, from, hasAlias, keyWord, logicDelType, logicSql, resultMap, subLogicSql, subTableAlias, tableFunc, tableIndexcheckSqlInjection, expression, ifAbsent, index, isMain, isNo, joinClass, lastSql, onWrappers, paramAlias, paramNameSeq, paramNameValuePairs, sqlComment, sqlFirst, tableList, tableName, typedThis| 构造器和说明 |
|---|
KtUpdateJoinWrapper(Class<T> clazz)
推荐使用此构造方法
|
KtUpdateJoinWrapper(Class<T> clazz,
String alias) |
KtUpdateJoinWrapper(T entity) |
KtUpdateJoinWrapper(T entity,
Class<T> entityClass,
AtomicInteger paramNameSeq,
Map<String,Object> paramNameValuePairs,
com.baomidou.mybatisplus.core.conditions.segments.MergeSegments mergeSegments,
com.baomidou.mybatisplus.core.conditions.SharedString lastSql,
com.baomidou.mybatisplus.core.conditions.SharedString sqlComment,
com.baomidou.mybatisplus.core.conditions.SharedString sqlFirst,
TableList tableList,
Integer index,
String keyWord,
Class<?> joinClass,
String tableName)
不建议直接 new 该实例,使用 JoinWrappers.update(User.class)
|
KtUpdateJoinWrapper(T entity,
String alias) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
String |
getSqlSet()
获取 更新 SQL 的 SET 片段
|
protected KtUpdateJoinWrapper<T> |
instance()
用于生成嵌套 sql
故 sqlSelect 不向下传递
|
protected KtUpdateJoinWrapper<T> |
instance(Integer index,
String keyWord,
Class<?> joinClass,
String tableName) |
protected KtUpdateJoinWrapper<T> |
instanceEmpty() |
KtUpdateJoinWrapper<T> |
set(boolean condition,
kotlin.reflect.KProperty<?> column,
Object val,
String mapping)
设置 更新 SQL 的 SET 片段
|
KtUpdateJoinWrapper<T> |
setSql(boolean condition,
String sql)
设置 更新 SQL 的 SET 片段
|
KtUpdateJoinWrapper<T> |
setUpdateEntity(Object... entity)
设置更新的实体set语句部分, 更新非空字段
注意!!!
|
KtUpdateJoinWrapper<T> |
setUpdateEntityAndNull(Object... entity)
设置更新的实体set语句部分, 更新非空字段
注意!!!
|
columnsToString, columnToString, disableLogicDel, disableSubLogicDel, enableLogicDel, enableSubLogicDel, getCache, getDefault, getFrom, getLogicSql, getSubLogicSql, getTableName, getTableNameEnc, initNeed, isUseAnnotationOrderBy, join, join, logicDelToOn, logicDelToWhere, setTableNameaddCondition, addCondition, addCondition, addNestedCondition, allEq, allEqStr, allEqStr, and, and, appendSqlSegments, apply, between, between, checkSqlInjection, clone, columnSqlInjectFilter, columnsToString, columnsToString, columnsToString, columnToSqlSegment, columnToSqlSegment, columnToSqlSegmentS, columnToString, comment, eq, eq, eq, exists, first, formatParam, formatSqlMaybeWithParam, func, ge, ge, ge, geSql, geSql, getEntity, getEntityClass, getExpression, getParamAlias, getSqlComment, getSqlFirst, getSqlSegment, groupBy, groupBy, groupBy, groupBy, groupByStr, gt, gt, gt, gtSql, gtSql, having, in, in, in, in, inExpression, inExpression, inSql, inSql, isNotNull, isNotNull, isNull, isNull, last, le, le, le, leSql, leSql, like, like, likeLeft, likeLeft, likeRight, likeRight, likeValue, likeValue, lt, lt, lt, ltSql, ltSql, maybeDo, ne, ne, ne, nested, not, not, notBetween, notBetween, notExists, notIn, notIn, notIn, notIn, notInSql, notInSql, notLike, notLike, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, or, or, orderBy, orderBy, orderBy, orderByAsc, orderByDesc, orderByStr, setEntity, setEntityClass, setIfAbsent, setIfAbsent, setParamAlias, toChildren, toChildrengetCustomSqlSegment, getSqlSelect, getTargetSql, isEmptyOfEntity, isEmptyOfNormal, isEmptyOfWhere, isNonEmptyOfEntity, isNonEmptyOfNormal, isNonEmptyOfWhere, nonEmptyOfEntity, nonEmptyOfNormal, nonEmptyOfWhereequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, join, join, join, join, join, join, join, join, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, leftJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoin, rightJoinfullJoin, fullJoin, innerJoin, innerJoin, leftJoin, leftJoin, rightJoin, rightJoingetDeleteLogicSql, getDeleteSql, getUnionSqleqIfAbsent, eqIfAbsent, geIfAbsent, geIfAbsent, getIfAbsent, gtIfAbsent, gtIfAbsent, leIfAbsent, leIfAbsent, likeIfAbsent, likeIfAbsent, likeLeftIfAbsent, likeLeftIfAbsent, likeRightIfAbsent, likeRightIfAbsent, ltIfAbsent, ltIfAbsent, neIfAbsent, neIfAbsent, notLikeIfAbsent, notLikeIfAbsent, notLikeLeftIfAbsent, notLikeLeftIfAbsent, notLikeRightIfAbsent, notLikeRightIfAbsentallEq, allEq, between, between, between, eq, eq, eq, ge, ge, ge, gt, gt, gt, le, le, le, like, like, like, likeLeft, likeLeft, likeLeft, likeRight, likeRight, likeRight, lt, lt, lt, ne, ne, ne, notBetween, notBetween, notBetween, notLike, notLike, notLike, notLikeLeft, notLikeLeft, notLikeLeft, notLikeRight, notLikeRight, notLikeRightapply, comment, exists, first, last, notExists, orfunc, geSql, geSql, geSql, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, gtSql, gtSql, gtSql, having, in, in, in, in, in, in, inSql, inSql, inSql, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, leSql, leSql, leSql, ltSql, ltSql, ltSql, notIn, notIn, notIn, notIn, notIn, notIn, notInSql, notInSql, notInSql, orderBy, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesceq, eq, eq, eq, eq, eq, eq, ge, ge, ge, ge, ge, ge, ge, gt, gt, gt, gt, gt, gt, gt, le, le, le, le, le, le, le, lt, lt, lt, lt, lt, lt, lt, ne, ne, ne, ne, ne, ne, neeqIfAbsent, geIfAbsent, getIfAbsent, gtIfAbsent, leIfAbsent, likeIfAbsent, likeLeftIfAbsent, likeRightIfAbsent, ltIfAbsent, neIfAbsent, notLikeIfAbsent, notLikeLeftIfAbsent, notLikeRightIfAbsentallEqStr, allEqStr, allEqStr, allEqStr, between, eq, ge, gt, le, like, likeLeft, likeRight, lt, ne, notBetween, notLike, notLikeLeft, notLikeRightgeSql, groupBy, groupBy, groupByStr, gtSql, in, in, inSql, isNotNull, isNull, leSql, ltSql, notIn, notIn, notInSql, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAscStr, orderByAscStr, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDescStr, orderByDescStrpublic KtUpdateJoinWrapper(T entity)
public KtUpdateJoinWrapper(T entity, Class<T> entityClass, AtomicInteger paramNameSeq, Map<String,Object> paramNameValuePairs, com.baomidou.mybatisplus.core.conditions.segments.MergeSegments mergeSegments, com.baomidou.mybatisplus.core.conditions.SharedString lastSql, com.baomidou.mybatisplus.core.conditions.SharedString sqlComment, com.baomidou.mybatisplus.core.conditions.SharedString sqlFirst, TableList tableList, Integer index, String keyWord, Class<?> joinClass, String tableName)
public KtUpdateJoinWrapper<T> setUpdateEntity(Object... entity)
注意!!! 这里这是的实体类是set部分, 不作为条件, where条件是wrapper.setEntity()
public KtUpdateJoinWrapper<T> setUpdateEntityAndNull(Object... entity)
注意!!! 这里这是的实体类是set部分, 不作为条件, where条件是wrapper.setEntity()
public KtUpdateJoinWrapper<T> set(boolean condition, kotlin.reflect.KProperty<?> column, Object val, String mapping)
Updateset 在接口中 Update<KtUpdateJoinWrapper<T>>condition - 是否加入 setcolumn - 字段val - 值mapping - 例: javaType=int,jdbcType=NUMERIC,typeHandler=xxx.xxx.MyTypeHandlerpublic KtUpdateJoinWrapper<T> setSql(boolean condition, String sql)
UpdatesetSql 在接口中 Update<KtUpdateJoinWrapper<T>>sql - set sqlpublic String getSqlSet()
UpdategetSqlSet 在接口中 Update<KtUpdateJoinWrapper<T>>getSqlSet 在类中 com.baomidou.mybatisplus.core.conditions.Wrapper<T>protected KtUpdateJoinWrapper<T> instance()
故 sqlSelect 不向下传递
instance 在类中 KtAbstractWrapper<T,KtUpdateJoinWrapper<T>>protected KtUpdateJoinWrapper<T> instanceEmpty()
instanceEmpty 在类中 KtAbstractWrapper<T,KtUpdateJoinWrapper<T>>protected KtUpdateJoinWrapper<T> instance(Integer index, String keyWord, Class<?> joinClass, String tableName)
instance 在类中 KtAbstractWrapper<T,KtUpdateJoinWrapper<T>>public void clear()
clear 在类中 KtAbstractLambdaWrapper<T,KtUpdateJoinWrapper<T>>Copyright © 2023. All rights reserved.