类 AbstractMybatisPlusCondition<Children,E>
java.lang.Object
org.elsfs.tool.sql.mybatisplus.conditions.AbstractMybatisPlusCondition<Children,E>
- 所有已实现的接口:
org.elsfs.tool.sql.conditions.Condition<Children>,org.elsfs.tool.sql.conditions.interfaces.And<Children>,org.elsfs.tool.sql.conditions.interfaces.ApplySql<Children>,org.elsfs.tool.sql.conditions.interfaces.Between<Children>,org.elsfs.tool.sql.conditions.interfaces.Eq<Children>,org.elsfs.tool.sql.conditions.interfaces.Exists<Children>,org.elsfs.tool.sql.conditions.interfaces.ExpressionSql<Children>,org.elsfs.tool.sql.conditions.interfaces.Ge<Children>,org.elsfs.tool.sql.conditions.interfaces.Gt<Children>,org.elsfs.tool.sql.conditions.interfaces.In<Children>,org.elsfs.tool.sql.conditions.interfaces.IsNotNull<Children>,org.elsfs.tool.sql.conditions.interfaces.IsNull<Children>,org.elsfs.tool.sql.conditions.interfaces.Le<Children>,org.elsfs.tool.sql.conditions.interfaces.Like<Children>,org.elsfs.tool.sql.conditions.interfaces.LikeLeft<Children>,org.elsfs.tool.sql.conditions.interfaces.LikeRight<Children>,org.elsfs.tool.sql.conditions.interfaces.Lt<Children>,org.elsfs.tool.sql.conditions.interfaces.Ne<Children>,org.elsfs.tool.sql.conditions.interfaces.Nested<Children>,org.elsfs.tool.sql.conditions.interfaces.NotBetween<Children>,org.elsfs.tool.sql.conditions.interfaces.NotExists<Children>,org.elsfs.tool.sql.conditions.interfaces.NotIn<Children>,org.elsfs.tool.sql.conditions.interfaces.NotLike<Children>,org.elsfs.tool.sql.conditions.interfaces.Or<Children>,org.elsfs.tool.sql.resolve.ResolveFieldName
- 直接已知子类:
UpdateMybatisPlusCondition
public abstract class AbstractMybatisPlusCondition<Children,E>
extends Object
implements org.elsfs.tool.sql.conditions.Condition<Children>
the is
AbstractMybatisPlusCondition- 从以下版本开始:
- 0.0.3
- 作者:
- zeng
-
字段概要
字段 -
构造器概要
构造器限定符构造器说明protectedAbstractMybatisPlusCondition(com.baomidou.mybatisplus.core.conditions.AbstractWrapper<E, String, ?> wrapper) -
方法概要
修饰符和类型方法说明AND 嵌套应用action消费器范围protected StringconvertToDbFieldName(String field) 转换为数据库字段名称等于字段 = ( sql语句 )expression(boolean condition, String sqlValue, Object... values) protected com.baomidou.mybatisplus.core.conditions.interfaces.Join<?>getJoin()获取JOIN对象protected com.baomidou.mybatisplus.core.conditions.interfaces.Nested<com.baomidou.mybatisplus.core.conditions.Wrapper<E>,com.baomidou.mybatisplus.core.conditions.Wrapper<E>> 获取JOIN对象in(boolean condition, String field, Collection<?> values) protected abstract Children获取操作Action实例notBetween(boolean condition, String field, Object leftValue, Object rightValue) notIn(boolean condition, String field, Collection<?> values) or()拼接 ORor(boolean condition) 拼接 OR从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.And
and从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.ApplySql
apply从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Between
between, between, between, between, between从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Eq
eq, eq, eq, eq, eq, eqSql, eqSql, eqSql, eqSql, eqSql从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Exists
exists从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.ExpressionSql
expression从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Ge
ge, ge, ge, ge, ge, geSql, geSql, geSql, geSql, geSql从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Gt
gt, gt, gt, gt, gt, gtSql, gtSql, gtSql, gtSql, gtSql从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.In
in, in, in, in, inSql, inSql, inSql, inSql, inSql从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.IsNotNull
isNotNull, isNotNull, isNotNull, isNotNull, isNotNull从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.IsNull
isNull, isNull, isNull, isNull, isNull从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Le
le, le, le, le, le, leSql, leSql, leSql, leSql, leSql从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Like
like, like从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.LikeLeft
likeLeft, likeLeft从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.LikeRight
likeRight, likeRight从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Lt
lt, lt, lt, lt, lt, ltSql, ltSql, ltSql, ltSql, ltSql从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Ne
ne, ne, ne, ne, ne从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Nested
nested从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotBetween
notBetween, notBetween, notBetween, notBetween, notBetween从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotExists
notExists从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotIn
notIn, notIn, notIn, notIn, notInSql, notInSql, notInSql, notInSql, notInSql从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotLike
notLike, notLike从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Or
or从接口继承的方法 org.elsfs.tool.sql.resolve.ResolveFieldName
resolveFieldName, resolveFieldName
-
字段详细资料
-
childThis
子类引用 -
wrapper
条件包装器
-
-
构造器详细资料
-
AbstractMybatisPlusCondition
-
-
方法详细资料
-
instance
获取操作Action实例- 参数:
wrapper- 条件Wrapper对象- 返回:
- Action实例
-
getJoin
protected com.baomidou.mybatisplus.core.conditions.interfaces.Join<?> getJoin()获取JOIN对象- 返回:
- JOIN对象
-
getNested
protected com.baomidou.mybatisplus.core.conditions.interfaces.Nested<com.baomidou.mybatisplus.core.conditions.Wrapper<E>,com.baomidou.mybatisplus.core.conditions.Wrapper<E>> getNested()获取JOIN对象- 返回:
- JOIN对象
-
convertToDbFieldName
转换为数据库字段名称- 参数:
field- 实体字段名称- 返回:
- 数据库字段名称
-
eq
等于- 指定者:
eq在接口中org.elsfs.tool.sql.conditions.interfaces.Eq<Children>- 参数:
field- 字段名value- 值- 返回:
- 具体实现
-
eqSql
字段 = ( sql语句 )例1: eqSql("id", "select id from table where name = 'JunJun'")
- 指定者:
eqSql在接口中org.elsfs.tool.sql.conditions.interfaces.Eq<Children>- 参数:
condition- 条件field- 字段名sqlValue- sql语句- 返回:
- 具体实现
-
and
AND 嵌套例: and(i -> i.eq("name", "李白").ne("status", "活着"))
- 指定者:
and在接口中org.elsfs.tool.sql.conditions.interfaces.And<Children>- 参数:
condition- 执行条件consumer- 消费函数- 返回:
- children
-
apply
应用action消费器- 指定者:
apply在接口中org.elsfs.tool.sql.conditions.interfaces.ApplySql<Children>- 参数:
condition- 条件actionConsumer- action消费器- 返回:
- 具体实现
-
between
范围- 指定者:
between在接口中org.elsfs.tool.sql.conditions.interfaces.Between<Children>- 参数:
condition- 是否应用条件field- 字段名leftValue- 左值rightValue- 右值- 返回:
- 具体实现
-
exists
- 指定者:
exists在接口中org.elsfs.tool.sql.conditions.interfaces.Exists<Children>
-
expression
- 指定者:
expression在接口中org.elsfs.tool.sql.conditions.interfaces.ExpressionSql<Children>
-
ge
- 指定者:
ge在接口中org.elsfs.tool.sql.conditions.interfaces.Ge<Children>
-
geSql
- 指定者:
geSql在接口中org.elsfs.tool.sql.conditions.interfaces.Ge<Children>
-
gt
- 指定者:
gt在接口中org.elsfs.tool.sql.conditions.interfaces.Gt<Children>
-
in
- 指定者:
in在接口中org.elsfs.tool.sql.conditions.interfaces.In<Children>
-
in
- 指定者:
in在接口中org.elsfs.tool.sql.conditions.interfaces.In<Children>
-
isNotNull
- 指定者:
isNotNull在接口中org.elsfs.tool.sql.conditions.interfaces.IsNotNull<Children>
-
inSql
- 指定者:
inSql在接口中org.elsfs.tool.sql.conditions.interfaces.In<Children>
-
gtSql
- 指定者:
gtSql在接口中org.elsfs.tool.sql.conditions.interfaces.Gt<Children>
-
le
- 指定者:
le在接口中org.elsfs.tool.sql.conditions.interfaces.Le<Children>
-
leSql
- 指定者:
leSql在接口中org.elsfs.tool.sql.conditions.interfaces.Le<Children>
-
like
- 指定者:
like在接口中org.elsfs.tool.sql.conditions.interfaces.Like<Children>
-
likeLeft
- 指定者:
likeLeft在接口中org.elsfs.tool.sql.conditions.interfaces.LikeLeft<Children>
-
likeRight
- 指定者:
likeRight在接口中org.elsfs.tool.sql.conditions.interfaces.LikeRight<Children>
-
lt
- 指定者:
lt在接口中org.elsfs.tool.sql.conditions.interfaces.Lt<Children>
-
ltSql
- 指定者:
ltSql在接口中org.elsfs.tool.sql.conditions.interfaces.Lt<Children>
-
ne
- 指定者:
ne在接口中org.elsfs.tool.sql.conditions.interfaces.Ne<Children>
-
nested
- 指定者:
nested在接口中org.elsfs.tool.sql.conditions.interfaces.Nested<Children>
-
notBetween
- 指定者:
notBetween在接口中org.elsfs.tool.sql.conditions.interfaces.NotBetween<Children>
-
isNull
- 指定者:
isNull在接口中org.elsfs.tool.sql.conditions.interfaces.IsNull<Children>
-
notExists
- 指定者:
notExists在接口中org.elsfs.tool.sql.conditions.interfaces.NotExists<Children>
-
notIn
- 指定者:
notIn在接口中org.elsfs.tool.sql.conditions.interfaces.NotIn<Children>
-
notIn
- 指定者:
notIn在接口中org.elsfs.tool.sql.conditions.interfaces.NotIn<Children>
-
notInSql
- 指定者:
notInSql在接口中org.elsfs.tool.sql.conditions.interfaces.NotIn<Children>
-
notLike
- 指定者:
notLike在接口中org.elsfs.tool.sql.conditions.interfaces.NotLike<Children>
-
or
拼接 OR- 指定者:
or在接口中org.elsfs.tool.sql.conditions.interfaces.Or<Children>- 参数:
condition- 执行条件- 返回:
- children
-
or
拼接 OR- 指定者:
or在接口中org.elsfs.tool.sql.conditions.interfaces.Or<Children>- 返回:
- children
-
or
- 指定者:
or在接口中org.elsfs.tool.sql.conditions.interfaces.Or<Children>
-