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

This commit is contained in:
稚屿 2021-06-24 00:27:37 +00:00 committed by Gitee
parent 1ed60c79c0
commit 1dfeae6a03

View File

@ -67,6 +67,7 @@ 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))
{ {
@ -79,3 +80,4 @@ public class PageDomain
this.isAsc = isAsc; this.isAsc = isAsc;
} }
} }
}