T - public interface SelectService<T,ID> extends PagingService
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count(Class<?> clazz,
Select select)
根据自定义条件统计
|
int |
count(Select select)
根据自定义条件统计
|
int |
countAll()
统计全部
|
<O> List<O> |
select(Class<O> returnType,
Select select)
根据自定义条件查询(可自动分页)返回List
|
List<T> |
select(Select select)
根据自定义条件查询(可自动分页)返回List
|
List<T> |
selectAll()
查询全部
|
<O> List<O> |
selectAll(Class<O> returnType)
查询全部(可指定返回类型、查询的表)
|
<O> List<O> |
selectAll(Class<O> returnType,
Paging paging)
查询全部(可指定返回类型、查询的表)
|
List<T> |
selectAll(Paging paging)
查询全部
|
<O> List<O> |
selectByCondition(Class<O> returnType,
Paging paging,
String where,
Object... args)
根据条件查询(可指定返回类型、查询的表)
|
<O> List<O> |
selectByCondition(Class<O> returnType,
Paging paging,
Wrapper where)
根据条件查询(可指定返回类型、查询的表)
|
<O> List<O> |
selectByCondition(Class<O> returnType,
String where,
Object... args)
根据条件查询(可指定返回类型、查询的表)
|
<O> List<O> |
selectByCondition(Class<O> returnType,
Wrapper where)
根据条件查询(可指定返回类型、查询的表)
|
List<T> |
selectByCondition(Paging paging,
String where,
Object... args)
根据条件查询
|
List<T> |
selectByCondition(Paging paging,
Wrapper where)
根据条件查询
|
List<T> |
selectByCondition(String where,
Object... args)
根据条件查询
|
List<T> |
selectByCondition(Wrapper where)
根据条件查询
|
<O> O |
selectById(Class<O> returnType,
ID id)
根据id条件查询(可指定返回类型、查询的表)
|
T |
selectById(ID id)
根据id条件查询
|
<O> List<O> |
selectByIds(Class<O> returnType,
ID... ids)
根据id条件查询(可指定返回类型、查询的表)
|
List<T> |
selectByIds(ID... ids)
根据ids条件查询
|
int |
selectCountByCondition(String where,
Object... args)
根据条件查询统计
|
int |
selectCountByCondition(Wrapper where)
根据条件查询统计
|
Map<String,Object> |
selectMap(Select select)
根据自定义条件查询返回Map
|
List<Map<String,Object>> |
selectMapList(Select select)
根据自定义条件查询(可自动分页)返回List
|
<O> O |
selectOne(Class<O> returnType,
Select select)
根据自定义条件查询 只返回一条记录(可指定返回类型)
|
T |
selectOne(Select select)
根据自定义条件查询 只返回一条记录
|
<O> O |
selectOneByCondition(Class<O> returnType,
String where,
Object... args)
根据条件查询(可指定返回类型、查询的表)
|
<O> O |
selectOneByCondition(Class<O> returnType,
Wrapper where)
根据条件查询
|
T |
selectOneByCondition(String where,
Object... args)
根据条件查询
|
T |
selectOneByCondition(Wrapper where)
根据条件查询
|
<O> O selectById(Class<O> returnType, ID id)
returnType - id - <O> List<O> selectByIds(Class<O> returnType, ID... ids)
returnType - ids - <O> O selectOne(Class<O> returnType, Select select)
returnType - select - T selectOneByCondition(String where, Object... args)
where - args - <O> O selectOneByCondition(Class<O> returnType, String where, Object... args)
returnType - where - args - <O> O selectOneByCondition(Class<O> returnType, Wrapper where)
O - returnType - where - List<T> selectByCondition(String where, Object... args)
where - args - List<T> selectByCondition(Paging paging, String where, Object... args)
paging - where - args - List<T> selectByCondition(Paging paging, Wrapper where)
paging - where - <O> List<O> selectByCondition(Class<O> returnType, String where, Object... args)
returnType - where - args - <O> List<O> selectByCondition(Class<O> returnType, Wrapper where)
O - returnType - where - <O> List<O> selectByCondition(Class<O> returnType, Paging paging, String where, Object... args)
returnType - paging - where - args - <O> List<O> selectByCondition(Class<O> returnType, Paging paging, Wrapper where)
O - returnType - paging - where - int selectCountByCondition(String where, Object... args)
where - args - int selectCountByCondition(Wrapper where)
where - int countAll()
<O> List<O> selectAll(Class<O> returnType, Paging paging)
returnType - paging - List<Map<String,Object>> selectMapList(Select select)
select - <O> List<O> select(Class<O> returnType, Select select)
returnType - select - int count(Select select)
select - Copyright © 2021. All rights reserved.