Class BasicUpdateProvider

java.lang.Object
org.miaixz.bus.mapper.builder.MapperTemplate
org.miaixz.bus.mapper.provider.BasicUpdateProvider

public class BasicUpdateProvider extends MapperTemplate
BaseUpdateProvider实现类,基础方法实现类
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • BasicUpdateProvider

      public BasicUpdateProvider(Class<?> mapperClass, MapperBuilder mapperBuilder)
  • Method Details

    • updateByPrimaryKey

      public String updateByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
      通过主键更新全部字段
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • updateByPrimaryKeySelective

      public String updateByPrimaryKeySelective(org.apache.ibatis.mapping.MappedStatement ms)
      通过主键更新不为null的字段
      Parameters:
      ms - MappedStatement
      Returns:
      the string