Pre Merge pull request !397 from thirty_pan/N/A
This commit is contained in:
commit
0eac9c8880
|
|
@ -30,7 +30,12 @@ public class PageDomain
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return StringUtils.toUnderScoreCase(orderByColumn) + " " + isAsc;
|
if("asc".equals(StringUtils.toUnderScoreCase(isAsc))||"desc".equals(StringUtils.toUnderScoreCase(isAsc))){
|
||||||
|
return StringUtils.toUnderScoreCase(orderByColumn) + " " + isAsc;
|
||||||
|
}else{
|
||||||
|
return StringUtils.toUnderScoreCase(orderByColumn) + " asc";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getPageNum()
|
public Integer getPageNum()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue