public class DeleteJoinWrapper<T> extends JoinAbstractLambdaWrapper<T,DeleteJoinWrapper<T>>
JoinAbstractWrapper.DoSomethingalias, dynamicTableName, from, hasAlias, keyWord, logicDelType, logicSql, resultMap, subLogicSql, subTableAlias, tableFunc, tableIndexcheckSqlInjection, expression, ifAbsent, index, isMain, isOn, joinClass, lastSql, onWrappers, paramAlias, paramNameSeq, paramNameValuePairs, sqlComment, sqlFirst, tableList, tableName, typedThis| 构造器和说明 |
|---|
DeleteJoinWrapper(Class<T> clazz)
推荐使用此构造方法
|
DeleteJoinWrapper(Class<T> clazz,
String alias)
构造方法
|
DeleteJoinWrapper(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.delete(User.class)
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
DeleteJoinWrapper<T> |
delete(Class<?>... deleteClass)
删除表
|
DeleteJoinWrapper<T> |
delete(String... tables)
删除表
注意!!!
|
DeleteJoinWrapper<T> |
deleteAll()
删除表
|
String |
getDeleteLogicSql()
获取删除的表
|
String |
getDeleteSql()
获取删除的表
|
protected DeleteJoinWrapper<T> |
instance()
用于生成嵌套 sql
故 sqlSelect 不向下传递
|
protected DeleteJoinWrapper<T> |
instance(Integer index,
String keyWord,
Class<?> joinClass,
String tableName) |
protected DeleteJoinWrapper<T> |
instanceEmpty() |
columnsToString, columnToString, columnToString, disableLogicDel, disableSubLogicDel, enableLogicDel, enableSubLogicDel, getCache, getDefault, getFrom, getLogicSql, getSubLogicSql, getTableName, getTableNameEnc, initNeed, isUseAnnotationOrderBy, join, join, logicDelToOn, logicDelToWhere, setTableNameaddCondition, addCondition, addCondition, addNestedCondition, allEq, 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, 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, orderBy, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByDesc, orderByStr, setEntity, setEntityClass, setIfAbsent, setIfAbsent, setParamAlias, toChildren, toChildrengetCustomSqlSegment, getSqlSelect, getSqlSet, 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, 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, rightJoinfullJoin, fullJoin, innerJoin, innerJoin, leftJoin, leftJoin, rightJoin, rightJoingetUnionSqleqIfAbsent, 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, 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, notLikeRightapply, comment, exists, first, last, notExists, orfunc, geSql, geSql, geSql, 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, orderByAsc, orderByAsc, orderByAsc, orderByAsc, orderByAsc, 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 DeleteJoinWrapper(Class<T> clazz, String alias)
clazz - 主表class类alias - 主表别名public DeleteJoinWrapper(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 String getDeleteSql()
public String getDeleteLogicSql()
public DeleteJoinWrapper<T> deleteAll()
public DeleteJoinWrapper<T> delete(String... tables)
public DeleteJoinWrapper<T> delete(Class<?>... deleteClass)
protected DeleteJoinWrapper<T> instance()
故 sqlSelect 不向下传递
instance 在类中 JoinAbstractWrapper<T,DeleteJoinWrapper<T>>protected DeleteJoinWrapper<T> instanceEmpty()
instanceEmpty 在类中 JoinAbstractWrapper<T,DeleteJoinWrapper<T>>protected DeleteJoinWrapper<T> instance(Integer index, String keyWord, Class<?> joinClass, String tableName)
instance 在类中 JoinAbstractWrapper<T,DeleteJoinWrapper<T>>public void clear()
clear 在类中 JoinAbstractLambdaWrapper<T,DeleteJoinWrapper<T>>Copyright © 2023. All rights reserved.