public class CustomOrderBy extends OrderBy
Constructor and Description |
---|
CustomOrderBy(IColumn column,
List<?> subOrders)
构造函数
|
CustomOrderBy(IColumn column,
List<?> subOrders,
boolean desc)
构造函数
|
Modifier and Type | Method and Description |
---|---|
PrepareStatement |
getPrepareStatement(boolean useAlias)
构造预查询SQL对象
|
List<?> |
getSubOrders()
Gets the value of subOrders
|
void |
setSubOrders(List<?> subOrders)
Sets the subOrders
|
getColumn, isDesc, setColumn, setDesc
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPrepareStatement
public CustomOrderBy(IColumn column, List<?> subOrders)
column
- 排序列subOrders
- 排序序列public PrepareStatement getPrepareStatement(boolean useAlias)
OrderBy
getPrepareStatement
in interface PrepareStatementSupplier
getPrepareStatement
in class OrderBy
useAlias
- 是否使用别名public List<?> getSubOrders()
public void setSubOrders(List<?> subOrders)
You can use getSubOrders() to get the value of subOrders
subOrders
- subOrdersCopyright © 2020 IBIT程序猿. All rights reserved.