类 MybatisPlusUpdateAction<E>
java.lang.Object
org.elsfs.tool.sql.mybatisplus.AbstractConditionOperations<C>
org.elsfs.tool.sql.mybatisplus.mybatis.AbstractMybatisPlusConditionOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>,E>
org.elsfs.tool.sql.mybatisplus.mybatis.MybatisPlusUpdateAction<E>
- 类型参数:
E- 实体类型
- 所有已实现的接口:
org.elsfs.tool.sql.interfaces.Expression<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Between<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Eq<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Ge<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Gt<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.In<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.IsNotNull<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.IsNull<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Le<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Like<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.LikeLeft<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.LikeRight<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Lt<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.Ne<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.NotBetween<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.NotIn<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.interfaces.single.NotLike<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.resolve.ResolveFieldName,org.elsfs.tool.sql.singular.facade.ConditionOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.singular.facade.DbAction<Long>,org.elsfs.tool.sql.singular.facade.LimitOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>,org.elsfs.tool.sql.singular.facade.UpdateAction<Long>,org.elsfs.tool.sql.singular.facade.UpdateOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>>
public class MybatisPlusUpdateAction<E>
extends AbstractMybatisPlusConditionOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>,E>
implements org.elsfs.tool.sql.singular.facade.UpdateAction<Long>
MybatisPlus更新动作实现
- 从以下版本开始:
- 0.0.4
- 作者:
- zeng
-
字段概要
字段从类继承的字段 org.elsfs.tool.sql.mybatisplus.mybatis.AbstractMybatisPlusConditionOperations
wrapper从类继承的字段 org.elsfs.tool.sql.mybatisplus.AbstractConditionOperations
childThis -
构造器概要
构造器构造器说明MybatisPlusUpdateAction(com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper<E> updateWrapper, ElsfsMapper<E> elsfsMapper) -
方法概要
修饰符和类型方法说明execute()执行动作protected com.baomidou.mybatisplus.core.conditions.update.Update<?,?> 获取更新接口实现protected com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper<E>获取Wrapper对象,用于高级查询protected org.elsfs.tool.sql.singular.facade.UpdateAction<Long>获取操作Action实例org.elsfs.tool.sql.singular.facade.UpdateAction<Long>limit(boolean condition, long num) 限制查询数量org.elsfs.tool.sql.singular.facade.UpdateAction<Long>limit(long num) 限制查询数量resolveFieldName(Enum<?> field) 解析字段枚举名称resolveFieldName(String tableAlias, Enum<?> field) 解析字段枚举名称org.elsfs.tool.sql.singular.facade.UpdateAction<Long>设置值org.elsfs.tool.sql.singular.facade.UpdateAction<Long>设置值org.elsfs.tool.sql.singular.facade.UpdateAction<Long>设置值org.elsfs.tool.sql.singular.facade.UpdateAction<Long>设置值org.elsfs.tool.sql.singular.facade.UpdateAction<Long>设置SQLorg.elsfs.tool.sql.singular.facade.UpdateAction<Long>设置SQL从类继承的方法 org.elsfs.tool.sql.mybatisplus.mybatis.AbstractMybatisPlusConditionOperations
and, apply, between, between, between, convertToDbFieldName, eq, eqSql, eqSql, eqSql, exists, expression, ge, ge, ge, geSql, geSql, geSql, getJoin, getNested, gt, gt, gt, gtSql, gtSql, gtSql, in, in, in, in, in, in, inSql, inSql, inSql, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, le, le, le, leSql, leSql, leSql, like, like, like, likeLeft, likeLeft, likeLeft, likeRight, likeRight, likeRight, lt, lt, lt, ltSql, ltSql, ltSql, ne, ne, ne, nested, notBetween, notBetween, notBetween, notExists, notIn, notIn, notIn, notIn, notIn, notIn, notInSql, notInSql, notInSql, notLike, notLike, notLike, or, or从类继承的方法 org.elsfs.tool.sql.mybatisplus.AbstractConditionOperations
and, apply, between, between, between, eq, eq, eq, eqSql, eqSql, eqSql, exists, expression, ge, ge, ge, geSql, geSql, geSql, gt, gt, gt, gtSql, gtSql, gtSql, in, in, in, in, in, in, inSql, inSql, inSql, isNotNull, isNotNull, isNotNull, isNull, isNull, isNull, le, le, le, leSql, leSql, leSql, like, like, like, likeLeft, likeLeft, likeLeft, likeRight, likeRight, likeRight, lt, lt, lt, ltSql, ltSql, ltSql, ne, ne, ne, nested, notBetween, notBetween, notBetween, notExists, notIn, notIn, notIn, notIn, notIn, notIn, notInSql, notInSql, notInSql, notLike, notLike, notLike, or, or从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Between
between, between, between, between, between, between从接口继承的方法 org.elsfs.tool.sql.singular.facade.ConditionOperations
and, and, apply, apply, exists, exists, nested, nested, notExists, notExists, or, or, or, or从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Eq
eq, eq, eq, eq, eq, eq, eqSql, eqSql, eqSql, eqSql, eqSql, eqSql, ne, ne, ne, ne, ne, ne从接口继承的方法 org.elsfs.tool.sql.interfaces.Expression
expression, expression从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Ge
ge, ge, ge, ge, ge, ge, geSql, geSql, geSql, geSql, geSql, geSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Gt
gt, gt, gt, gt, gt, gt, gtSql, gtSql, gtSql, gtSql, gtSql, gtSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.In
in, in, in, in, in, in, in, in, in, in, in, in, inSql, inSql, inSql, inSql, inSql, inSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.IsNotNull
isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull从接口继承的方法 org.elsfs.tool.sql.interfaces.single.IsNull
isNull, isNull, isNull, isNull, isNull, isNull从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Le
le, le, le, le, le, le, leSql, leSql, leSql, leSql, leSql, leSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Like
like, like, like, like, like, like从接口继承的方法 org.elsfs.tool.sql.interfaces.single.LikeLeft
likeLeft, likeLeft, likeLeft, likeLeft, likeLeft, likeLeft从接口继承的方法 org.elsfs.tool.sql.interfaces.single.LikeRight
likeRight, likeRight, likeRight, likeRight, likeRight, likeRight从接口继承的方法 org.elsfs.tool.sql.interfaces.single.Lt
lt, lt, lt, lt, lt, lt, ltSql, ltSql, ltSql, ltSql, ltSql, ltSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.NotBetween
notBetween, notBetween, notBetween, notBetween, notBetween, notBetween从接口继承的方法 org.elsfs.tool.sql.interfaces.single.NotIn
notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notInSql, notInSql, notInSql, notInSql, notInSql, notInSql从接口继承的方法 org.elsfs.tool.sql.interfaces.single.NotLike
notLike, notLike, notLike, notLike, notLike, notLike
-
字段详细资料
-
elsfsMapper
基础Mapper
-
-
构造器详细资料
-
MybatisPlusUpdateAction
public MybatisPlusUpdateAction(com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper<E> updateWrapper, ElsfsMapper<E> elsfsMapper)
-
-
方法详细资料
-
getWrapper
获取Wrapper对象,用于高级查询- 返回:
- Wrapper查询对象
-
set
设置值- 指定者:
set在接口中org.elsfs.tool.sql.singular.facade.UpdateOperations<E>- 参数:
field- 表字段名value- 值- 返回:
- 具体实现
-
set
设置值- 指定者:
set在接口中org.elsfs.tool.sql.singular.facade.UpdateOperations<E>- 参数:
field- 表字段枚举value- 值- 返回:
- 具体实现
-
set
public org.elsfs.tool.sql.singular.facade.UpdateAction<Long> set(boolean condition, String field, Object value) 设置值- 指定者:
set在接口中org.elsfs.tool.sql.singular.facade.UpdateOperations<E>- 参数:
condition- 是否应用设置field- 表字段名value- 值- 返回:
- 具体实现
-
set
public org.elsfs.tool.sql.singular.facade.UpdateAction<Long> set(boolean condition, Enum<?> field, Object value) 设置值- 指定者:
set在接口中org.elsfs.tool.sql.singular.facade.UpdateOperations<E>- 参数:
condition- 是否应用设置field- 表字段枚举value- 值- 返回:
- 具体实现
-
getUpdate
protected com.baomidou.mybatisplus.core.conditions.update.Update<?,?> getUpdate()获取更新接口实现- 返回:
- 实现对象
-
setSql
设置SQL- 指定者:
setSql在接口中org.elsfs.tool.sql.singular.facade.UpdateOperations<E>- 参数:
sqlValue- SQL片段:name=xxx- 返回:
- 具体实现
-
setSql
public org.elsfs.tool.sql.singular.facade.UpdateAction<Long> setSql(boolean condition, String sqlValue) 设置SQL- 指定者:
setSql在接口中org.elsfs.tool.sql.singular.facade.UpdateOperations<E>- 参数:
condition- 是否应用设置SQLsqlValue- SQL片段:name=xxx- 返回:
- 具体实现
-
execute
执行动作- 指定者:
execute在接口中org.elsfs.tool.sql.singular.facade.DbAction<E>- 返回:
- 结果
-
resolveFieldName
解析字段枚举名称- 指定者:
resolveFieldName在接口中org.elsfs.tool.sql.resolve.ResolveFieldName- 指定者:
resolveFieldName在类中AbstractMybatisPlusConditionOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>,E> - 参数:
field- 字段枚举- 返回:
- 字段名称
-
resolveFieldName
解析字段枚举名称- 指定者:
resolveFieldName在接口中org.elsfs.tool.sql.resolve.ResolveFieldName- 指定者:
resolveFieldName在类中AbstractMybatisPlusConditionOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>,E> - 参数:
tableAlias- 字段表别名field- 字段枚举- 返回:
- 字段名称
-
instance
protected org.elsfs.tool.sql.singular.facade.UpdateAction<Long> instance(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper) 获取操作Action实例- 指定者:
instance在类中AbstractMybatisPlusConditionOperations<org.elsfs.tool.sql.singular.facade.UpdateAction<Long>,E> - 参数:
wrapper- 条件Wrapper对象- 返回:
- Action实例
-
limit
限制查询数量- 指定者:
limit在接口中org.elsfs.tool.sql.singular.facade.LimitOperations<E>- 参数:
num- 数量- 返回:
- 具体实现
-
limit
限制查询数量- 指定者:
limit在接口中org.elsfs.tool.sql.singular.facade.LimitOperations<E>- 参数:
condition- 执行条件num- 数量- 返回:
- 具体实现
-