接口 CursorMapper<T>


public interface CursorMapper<T>
  • 方法概要

    修饰符和类型
    方法
    说明
    org.apache.ibatis.cursor.Cursor<T>
    selectCursor(T entity)
    根据实体字段条件查询
    org.apache.ibatis.cursor.Cursor<T>
    根据 Example 条件查询
  • 方法详细资料

    • selectCursor

      @Lang(io.mybatis.provider.Caching.class) @SelectProvider(type=io.mybatis.mapper.base.EntityProvider.class, method="select") org.apache.ibatis.cursor.Cursor<T> selectCursor(T entity)
      根据实体字段条件查询
      参数:
      entity - 实体类
      返回:
      实体列表
    • selectCursorByExample

      @Lang(io.mybatis.provider.Caching.class) @SelectProvider(type=ExampleProvider.class, method="selectByExample") org.apache.ibatis.cursor.Cursor<T> selectCursorByExample(Example example)
      根据 Example 条件查询
      参数:
      example - 条件
      返回:
      实体列表