T - 实体类E - 符合Example数据结构的对象,例如 Example,也可以是 MBG 生成 XXXExample 对象。public interface CursorMapper<T,E>
| Modifier and Type | Method and Description |
|---|---|
org.apache.ibatis.cursor.Cursor<T> |
selectCursor(T entity)
根据实体字段条件查询
|
org.apache.ibatis.cursor.Cursor<T> |
selectCursorByExample(E example)
根据 Example 条件查询
|
@Lang(value=io.mybatis.provider.Caching.class) @SelectProvider(type=EntityProvider.class, method="select") org.apache.ibatis.cursor.Cursor<T> selectCursor(T entity)
entity - 实体类@Lang(value=io.mybatis.provider.Caching.class) @SelectProvider(type=ExampleProvider.class, method="selectByExample") org.apache.ibatis.cursor.Cursor<T> selectCursorByExample(E example)
example - 条件Copyright © 2022. All rights reserved.