Class KtUpdateJoinWrapper<T>
java.lang.Object
com.baomidou.mybatisplus.core.conditions.Wrapper<T>
com.github.yulichang.extension.kt.KtAbstractWrapper<T,Children>
com.github.yulichang.extension.kt.KtAbstractLambdaWrapper<T,KtUpdateJoinWrapper<T>>
com.github.yulichang.extension.kt.KtUpdateJoinWrapper<T>
- All Implemented Interfaces:
com.baomidou.mybatisplus.core.conditions.interfaces.Nested<KtUpdateJoinWrapper<T>,,KtUpdateJoinWrapper<T>> com.baomidou.mybatisplus.core.conditions.ISqlSegment,Compare<KtUpdateJoinWrapper<T>>,CompareIfExists<KtUpdateJoinWrapper<T>>,Func<KtUpdateJoinWrapper<T>>,OnCompare<KtUpdateJoinWrapper<T>>,QueryJoin<KtUpdateJoinWrapper<T>,,T> Update<KtUpdateJoinWrapper<T>>,MPJBaseJoin<T>,StringJoin<KtUpdateJoinWrapper<T>,,T> CompareStr<KtUpdateJoinWrapper<T>,,String> CompareStrIfExists<KtUpdateJoinWrapper<T>,,String> FuncStr<KtUpdateJoinWrapper<T>,,String> Join<KtUpdateJoinWrapper<T>>,UpdateChain<T>,Serializable
public class KtUpdateJoinWrapper<T>
extends KtAbstractLambdaWrapper<T,KtUpdateJoinWrapper<T>>
implements Update<KtUpdateJoinWrapper<T>>, UpdateChain<T>
- Since:
- 1.4.6
- Author:
- yulichang
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.github.yulichang.extension.kt.KtAbstractLambdaWrapper
alias, dynamicTableName, from, hasAlias, keyWord, logicDelType, logicSql, pageByMain, pageInfo, resultMap, resultMapCollection, subLogicSql, subTableAlias, tableFunc, tableIndexFields inherited from class com.github.yulichang.extension.kt.KtAbstractWrapper
checkSqlInjection, expression, ifExists, index, isMain, isNo, joinClass, lastSql, onWrappers, paramAlias, paramNameSeq, paramNameValuePairs, sqlComment, sqlFirst, tableList, tableName, typedThis -
Constructor Summary
ConstructorsConstructorDescriptionKtUpdateJoinWrapper(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) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()获取 更新 SQL 的 SET 片段protected KtUpdateJoinWrapper<T>instance()用于生成嵌套 sqlprotected KtUpdateJoinWrapper<T>protected KtUpdateJoinWrapper<T>设置 更新 SQL 的 SET 片段设置 更新 SQL 的 SET 片段setUpdateEntity(Object... entity) 设置更新的实体set语句部分, 更新非空字段setUpdateEntityAndNull(Object... entity) 设置更新的实体set语句部分, 更新非空字段Methods inherited from class com.github.yulichang.extension.kt.KtAbstractLambdaWrapper
columnsToString, columnToString, disableLogicDel, disableSubLogicDel, enableLogicDel, enableSubLogicDel, getCache, getDefault, getFrom, getLogicSql, getPageInfo, getSubLogicSql, getTableName, getTableNameEnc, initNeed, isUseAnnotationOrderBy, join, join, logicDelToOn, logicDelToWhere, pageByMain, pageByMain, setTableNameMethods inherited from class com.github.yulichang.extension.kt.KtAbstractWrapper
addCondition, addCondition, addCondition, addNestedCondition, allEq, allEqStr, allEqStr, and, and, appendSqlSegments, apply, applyFunc, applyFunc, around, between, between, checkSqlInjection, clone, columnSqlInjectFilter, columnsToString, columnsToString, columnsToString, columnToSqlSegment, columnToSqlSegment, columnToSqlSegmentS, columnToString, comment, eq, eq, eq, eqSql, 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, setIfExists, setIfExists, setParamAlias, toChildren, toChildrenMethods inherited from class com.baomidou.mybatisplus.core.conditions.Wrapper
getCustomSqlSegment, getSqlSelect, getTargetSql, isEmptyOfEntity, isEmptyOfNormal, isEmptyOfWhere, isNonEmptyOfEntity, isNonEmptyOfNormal, isNonEmptyOfWhere, nonEmptyOfEntity, nonEmptyOfNormal, nonEmptyOfWhereMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.yulichang.extension.kt.interfaces.Compare
allEq, 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, notLikeRightMethods inherited from interface com.github.yulichang.extension.kt.interfaces.CompareIfExists
eqIfExists, eqIfExists, geIfExists, geIfExists, getIfExists, gtIfExists, gtIfExists, leIfExists, leIfExists, likeIfExists, likeIfExists, likeLeftIfExists, likeLeftIfExists, likeRightIfExists, likeRightIfExists, ltIfExists, ltIfExists, neIfExists, neIfExists, notLikeIfExists, notLikeIfExists, notLikeLeftIfExists, notLikeLeftIfExists, notLikeRightIfExists, notLikeRightIfExistsMethods inherited from interface com.github.yulichang.wrapper.interfaces.CompareStr
allEqStr, allEqStr, allEqStr, allEqStr, between, eq, ge, gt, le, like, likeLeft, likeRight, lt, ne, notBetween, notLike, notLikeLeft, notLikeRightMethods inherited from interface com.github.yulichang.wrapper.interfaces.CompareStrIfExists
eqIfExists, geIfExists, getIfExists, gtIfExists, leIfExists, likeIfExists, likeLeftIfExists, likeRightIfExists, ltIfExists, neIfExists, notLikeIfExists, notLikeLeftIfExists, notLikeRightIfExistsMethods inherited from interface com.github.yulichang.extension.kt.interfaces.Func
func, func, 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, orderByDescMethods inherited from interface com.github.yulichang.wrapper.interfaces.FuncStr
eqSql, geSql, 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, orderByDescStrMethods inherited from interface com.github.yulichang.wrapper.interfaces.Join
apply, around, comment, exists, first, last, notExists, orMethods inherited from interface com.github.yulichang.interfaces.MPJBaseJoin
getDeleteLogicSql, getDeleteSql, getUnionSqlMethods inherited from interface com.baomidou.mybatisplus.core.conditions.interfaces.Nested
and, nested, not, orMethods inherited from interface com.github.yulichang.extension.kt.interfaces.OnCompare
eq, 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, neMethods inherited from interface com.github.yulichang.extension.kt.interfaces.QueryJoin
fullJoin, 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, rightJoinMethods inherited from interface com.github.yulichang.query.interfaces.StringJoin
fullJoin, fullJoin, fullJoin, fullJoin, innerJoin, innerJoin, innerJoin, innerJoin, join, leftJoin, leftJoin, leftJoin, leftJoin, rightJoin, rightJoin, rightJoin, rightJoinMethods inherited from interface com.github.yulichang.extension.kt.interfaces.Update
set, set, set, setDecrBy, setIncrBy, setSqlMethods inherited from interface com.github.yulichang.wrapper.interfaces.UpdateChain
getEntityClass, update, update, updateAndNull, updateAndNull
-
Constructor Details
-
KtUpdateJoinWrapper
推荐使用此构造方法 -
KtUpdateJoinWrapper
-
KtUpdateJoinWrapper
-
KtUpdateJoinWrapper
-
-
Method Details
-
setUpdateEntity
设置更新的实体set语句部分, 更新非空字段注意!!! 这里这是的实体类是set部分, 不作为条件, where条件是wrapper.setEntity()
-
setUpdateEntityAndNull
设置更新的实体set语句部分, 更新非空字段注意!!! 这里这是的实体类是set部分, 不作为条件, where条件是wrapper.setEntity()
-
set
public KtUpdateJoinWrapper<T> set(boolean condition, kotlin.reflect.KProperty<?> column, Object val, String mapping) Description copied from interface:Update设置 更新 SQL 的 SET 片段 -
setIncrBy
public KtUpdateJoinWrapper<T> setIncrBy(boolean condition, kotlin.reflect.KProperty<?> column, Number val) -
setDecrBy
public KtUpdateJoinWrapper<T> setDecrBy(boolean condition, kotlin.reflect.KProperty<?> column, Number val) -
setSql
Description copied from interface:Update设置 更新 SQL 的 SET 片段 -
getSqlSet
Description copied from interface:Update获取 更新 SQL 的 SET 片段 -
instance
用于生成嵌套 sql故 sqlSelect 不向下传递
- Specified by:
instancein classKtAbstractWrapper<T,KtUpdateJoinWrapper<T>>
-
instanceEmpty
- Specified by:
instanceEmptyin classKtAbstractWrapper<T,KtUpdateJoinWrapper<T>>
-
instance
protected KtUpdateJoinWrapper<T> instance(Integer index, String keyWord, Class<?> joinClass, String tableName) - Specified by:
instancein classKtAbstractWrapper<T,KtUpdateJoinWrapper<T>>
-
clear
public void clear()- Overrides:
clearin classKtAbstractLambdaWrapper<T,KtUpdateJoinWrapper<T>>
-