!251 修复日志列表取消字段排序时的报错问题

Merge pull request !251 from 稚屿/N/A
duhanyu
若依 4 years ago committed by Gitee
commit 751ca90690

@ -67,15 +67,17 @@ public class PageDomain
public void setIsAsc(String isAsc) public void setIsAsc(String isAsc)
{ {
// 兼容前端排序类型 if (StringUtils.isNotEmpty(isAsc)) {
if ("ascending".equals(isAsc)) // 兼容前端排序类型
{ if ("ascending".equals(isAsc))
isAsc = "asc"; {
} isAsc = "asc";
else if ("descending".equals(isAsc)) }
{ else if ("descending".equals(isAsc))
isAsc = "desc"; {
isAsc = "desc";
}
this.isAsc = isAsc;
} }
this.isAsc = isAsc;
} }
} }

Loading…
Cancel
Save