Class KtAbstractLambdaWrapper<T,Children extends KtAbstractLambdaWrapper<T,Children>>

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,Children>
All Implemented Interfaces:
com.baomidou.mybatisplus.core.conditions.interfaces.Nested<Children,Children>, com.baomidou.mybatisplus.core.conditions.ISqlSegment, Compare<Children>, CompareIfExists<Children>, Func<Children>, OnCompare<Children>, QueryJoin<Children,T>, MPJBaseJoin<T>, StringJoin<Children,T>, CompareStr<Children,String>, CompareStrIfExists<Children,String>, FuncStr<Children,String>, Join<Children>, Serializable
Direct Known Subclasses:
KtDeleteJoinWrapper, KtLambdaWrapper, KtUpdateJoinWrapper

public abstract class KtAbstractLambdaWrapper<T,Children extends KtAbstractLambdaWrapper<T,Children>> extends KtAbstractWrapper<T,Children> implements QueryJoin<Children,T>
参考 AbstractLambdaWrapper
Author:
yulichang
See Also:
  • Field Details

    • alias

      protected String alias
      主表别名
    • subTableAlias

      protected String subTableAlias
      副表别名
    • resultMap

      protected boolean resultMap
      是否构建是否存在一对多
    • resultMapCollection

      protected boolean resultMapCollection
    • pageInfo

      protected PageInfo pageInfo
    • pageByMain

      protected boolean pageByMain
    • tableIndex

      protected int tableIndex
      表序号
    • dynamicTableName

      protected boolean dynamicTableName
      主表 表名处理方法
    • tableFunc

      protected Function<String,String> tableFunc
      主表 表名处理方法
    • logicDelType

      protected LogicDelTypeEnum logicDelType
      逻辑删除位置
    • from

      protected final com.baomidou.mybatisplus.core.conditions.SharedString from
      查询表
    • hasAlias

      protected boolean hasAlias
      是否有表别名
    • keyWord

      protected String keyWord
      连表关键字 on 条件 func 使用
    • subLogicSql

      protected boolean subLogicSql
      副表逻辑删除开关
    • logicSql

      protected boolean logicSql
      主表逻辑删除开关
  • Constructor Details

    • KtAbstractLambdaWrapper

      public KtAbstractLambdaWrapper()
      推荐使用 带 class 的构造方法
    • KtAbstractLambdaWrapper

      public KtAbstractLambdaWrapper(Class<T> clazz)
      推荐使用此构造方法
    • KtAbstractLambdaWrapper

      public KtAbstractLambdaWrapper(T entity)
      构造方法
      Parameters:
      entity - 主表实体
    • KtAbstractLambdaWrapper

      public KtAbstractLambdaWrapper(String alias)
      自定义主表别名
    • KtAbstractLambdaWrapper

      public KtAbstractLambdaWrapper(Class<T> clazz, String alias)
      构造方法
      Parameters:
      clazz - 主表class类
      alias - 主表别名
    • KtAbstractLambdaWrapper

      public KtAbstractLambdaWrapper(T entity, String alias)
      构造方法
      Parameters:
      entity - 主表实体类
      alias - 主表别名
  • Method Details