类 UpdateMybatisPlusCondition<E>

java.lang.Object
org.elsfs.tool.sql.mybatisplus.conditions.AbstractMybatisPlusCondition<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>,E>
org.elsfs.tool.sql.mybatisplus.update.UpdateMybatisPlusCondition<E>
所有已实现的接口:
Supplier<Integer>, org.elsfs.tool.sql.conditions.Condition<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.And<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.ApplySql<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Between<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Eq<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Exists<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.ExpressionSql<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Ge<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Gt<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.In<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.IsNotNull<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.IsNull<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Le<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Like<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.LikeLeft<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.LikeRight<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Lt<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Ne<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Nested<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.NotBetween<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.NotExists<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.NotIn<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.NotLike<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.interfaces.Or<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>>, org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>, org.elsfs.tool.sql.resolve.ResolveFieldName

public class UpdateMybatisPlusCondition<E> extends AbstractMybatisPlusCondition<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>,E> implements org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>
MybatisPlus更新动作实现
从以下版本开始:
0.0.3
作者:
zeng
  • 字段概要

    从类继承的字段 org.elsfs.tool.sql.mybatisplus.conditions.AbstractMybatisPlusCondition

    childThis, wrapper
  • 构造器概要

    构造器
    构造器
    说明
    UpdateMybatisPlusCondition(com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper<E> updateWrapper, ElsfsMapper<E> elsfsMapper)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    get()
    Gets a result.
    protected com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper<E>
    获取Wrapper对象,用于高级查询
    instance(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper)
    获取操作Action实例
    解析字段枚举名称
    resolveFieldName(String tableAlias, Enum<?> field)
    解析字段枚举名称
    org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>
    set(boolean condition, String field, Object value)
    设置值
    org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>
    setSql(boolean condition, String sqlValue)
    设置SQL

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.And

    and, and

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.ApplySql

    apply, apply

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Between

    between, between, between, between, between, between

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Eq

    eq, eq, eq, eq, eq, eq, eqSql, eqSql, eqSql, eqSql, eqSql, eqSql

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Exists

    exists, exists

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.ExpressionSql

    expression, expression

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Ge

    ge, ge, ge, ge, ge, ge, geSql, geSql, geSql, geSql, geSql, geSql

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Gt

    gt, gt, gt, gt, gt, gt, gtSql, gtSql, gtSql, gtSql, gtSql, gtSql

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.In

    in, in, in, in, in, in, inSql, inSql, inSql, inSql, inSql, inSql

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.IsNotNull

    isNotNull, isNotNull, isNotNull, isNotNull, isNotNull, isNotNull

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.IsNull

    isNull, isNull, isNull, isNull, isNull, isNull

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Le

    le, le, le, le, le, le, leSql, leSql, leSql, leSql, leSql, leSql

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Like

    like, like, like

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.LikeLeft

    likeLeft, likeLeft, likeLeft

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.LikeRight

    likeRight, likeRight, likeRight

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Lt

    lt, lt, lt, lt, lt, lt, ltSql, ltSql, ltSql, ltSql, ltSql, ltSql

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Ne

    ne, ne, ne, ne, ne, ne

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Nested

    nested, nested

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotBetween

    notBetween, notBetween, notBetween, notBetween, notBetween, notBetween

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotExists

    notExists, notExists

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotIn

    notIn, notIn, notIn, notIn, notIn, notIn, notInSql, notInSql, notInSql, notInSql, notInSql, notInSql

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.NotLike

    notLike, notLike, notLike

    从接口继承的方法 org.elsfs.tool.sql.conditions.interfaces.Or

    or, or, or, or

    从接口继承的方法 org.elsfs.tool.sql.conditions.update.UpdateCondition

    set, set, set, setSql
  • 构造器详细资料

    • UpdateMybatisPlusCondition

      public UpdateMybatisPlusCondition(com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper<E> updateWrapper, ElsfsMapper<E> elsfsMapper)
  • 方法详细资料

    • getWrapper

      protected com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper<E> getWrapper()
      获取Wrapper对象,用于高级查询
      返回:
      Wrapper查询对象
    • resolveFieldName

      public String resolveFieldName(Enum<?> field)
      解析字段枚举名称
      指定者:
      resolveFieldName 在接口中 org.elsfs.tool.sql.resolve.ResolveFieldName
      参数:
      field - 字段枚举
      返回:
      字段名称
    • resolveFieldName

      public String resolveFieldName(String tableAlias, Enum<?> field)
      解析字段枚举名称
      指定者:
      resolveFieldName 在接口中 org.elsfs.tool.sql.resolve.ResolveFieldName
      参数:
      tableAlias - 字段表别名
      field - 字段枚举
      返回:
      字段名称
    • instance

      protected UpdateMybatisPlusCondition<E> instance(com.baomidou.mybatisplus.core.conditions.Wrapper<E> wrapper)
      获取操作Action实例
      指定者:
      instance 在类中 AbstractMybatisPlusCondition<org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer>,E>
      参数:
      wrapper - 条件Wrapper对象
      返回:
      Action实例
    • set

      public org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer> set(boolean condition, String field, Object value)
      设置值
      指定者:
      set 在接口中 org.elsfs.tool.sql.conditions.update.UpdateCondition<E>
      参数:
      condition - 是否应用设置
      field - 表字段名
      value - 值
      返回:
      具体实现
    • setSql

      public org.elsfs.tool.sql.conditions.update.UpdateCondition<Integer> setSql(boolean condition, String sqlValue)
      设置SQL
      指定者:
      setSql 在接口中 org.elsfs.tool.sql.conditions.update.UpdateCondition<E>
      参数:
      condition - 是否应用设置SQL
      sqlValue - SQL片段:name=xxx
      返回:
      具体实现
    • get

      public Integer get()
      Gets a result.
      指定者:
      get 在接口中 Supplier<E>
      返回:
      a result