| 程序包 | 说明 |
|---|---|
| org.teasoft.bee.osql | |
| org.teasoft.bee.osql.chain | |
| org.teasoft.bee.osql.service |
| 限定符和类型 | 方法和说明 |
|---|---|
static OrderType |
OrderType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static OrderType[] |
OrderType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
Condition |
Condition.orderBy(FunctionType functionType,
String field,
OrderType orderType)
eg: orderBy(FunctionType.MAX, "total", OrderType.DESC)-->order by max(total) desc
|
Condition |
Condition.orderBy(String field,
OrderType orderType) |
<T> List<T> |
SuidRich.selectOrderBy(T entity,
String orderFieldList,
OrderType[] orderTypes)
应用排序查询结果.
|
<T> String |
ObjToSQLRich.toSelectOrderBySQL(T entity,
String orderFieldList,
OrderType[] orderTypes) |
| 限定符和类型 | 方法和说明 |
|---|---|
Select |
Select.orderBy(String field,
OrderType orderType) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> List<T> |
ObjSQLRichAbstractServiceImpl.selectOrderBy(T entity,
String orderFieldList,
OrderType[] orderTypes) |
Copyright © 2020. All rights reserved.