|
|
@ -134,7 +134,7 @@ public abstract class BaseBean implements Serializable {
|
|
|
|
String result = "";
|
|
|
|
String result = "";
|
|
|
|
if (orderByParam!=null&&orderByParam.trim().length()>0) {
|
|
|
|
if (orderByParam!=null&&orderByParam.trim().length()>0) {
|
|
|
|
result = " order by " + orderByParam;
|
|
|
|
result = " order by " + orderByParam;
|
|
|
|
if(ascOrDesc!= null && ascOrDesc == CommonEnumUtil.ASC_OR_DESC.ASC.getValue()) {
|
|
|
|
if(ascOrDesc == CommonEnumUtil.ASC_OR_DESC.ASC.getValue()) {
|
|
|
|
result += " asc";
|
|
|
|
result += " asc";
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
result += " desc";
|
|
|
|
result += " desc";
|
|
|
|