Class BasicSelectProvider

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

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

    • BasicSelectProvider

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

    • selectOne

      public String selectOne(org.apache.ibatis.mapping.MappedStatement ms)
      查询
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • select

      public String select(org.apache.ibatis.mapping.MappedStatement ms)
      查询
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • selectByRowBounds

      public String selectByRowBounds(org.apache.ibatis.mapping.MappedStatement ms)
      查询
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • selectByPrimaryKey

      public String selectByPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
      根据主键进行查询
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • selectCount

      public String selectCount(org.apache.ibatis.mapping.MappedStatement ms)
      查询总数
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • existsWithPrimaryKey

      public String existsWithPrimaryKey(org.apache.ibatis.mapping.MappedStatement ms)
      根据主键查询总数
      Parameters:
      ms - MappedStatement
      Returns:
      the string
    • selectAll

      public String selectAll(org.apache.ibatis.mapping.MappedStatement ms)
      查询全部结果
      Parameters:
      ms - MappedStatement
      Returns:
      the string