|
|
|
@ -21,6 +21,9 @@ public class PageDomain |
|
|
|
|
/** 排序的方向desc或者asc */ |
|
|
|
|
private String isAsc = "asc"; |
|
|
|
|
|
|
|
|
|
/** 分页参数合理化 */ |
|
|
|
|
private Boolean reasonable = false; |
|
|
|
|
|
|
|
|
|
public String getOrderBy() |
|
|
|
|
{ |
|
|
|
|
if (StringUtils.isEmpty(orderByColumn)) |
|
|
|
@ -81,4 +84,14 @@ public class PageDomain |
|
|
|
|
this.isAsc = isAsc; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Boolean getReasonable() |
|
|
|
|
{ |
|
|
|
|
return reasonable; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setReasonable(Boolean reasonable) |
|
|
|
|
{ |
|
|
|
|
this.reasonable = reasonable; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|