public interface BaseViewMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
all()
返回实体对应的所有数据库记录
|
List<T> |
all(int start,
int size)
返回实体对应的一个范围的记录
|
long |
allCount()
返回实体在数据库里的总数
|
List<T> |
template(T entity)
模板查询,返回符合模板得所有结果。
|
List<T> |
template(T entity,
int start,
int size) |
long |
templateCount(T entity)
符合模板得个数
|
T |
templateOne(T entity)
模板查询,返回一条结果,如果没有,返回null
|
void |
templatePage(org.beetl.sql.core.engine.PageQuery<T> query) |
long allCount()
List<T> template(T entity)
entity - void templatePage(org.beetl.sql.core.engine.PageQuery<T> query)
long templateCount(T entity)
entity - Copyright © 2023. All rights reserved.