添加bat脚本执行应用

This commit is contained in:
RuoYi
2021-05-31 12:16:27 +08:00
parent af9cfb40a4
commit c105a63c8b
3 changed files with 170 additions and 86 deletions

View File

@ -59,6 +59,19 @@ public class BaseController
}
}
/**
* 设置请求排序数据
*/
protected void startOrderBy()
{
PageDomain pageDomain = TableSupport.buildPageRequest();
if (StringUtils.isNotEmpty(pageDomain.getOrderBy()))
{
String orderBy = SqlUtil.escapeOrderBySql(pageDomain.getOrderBy());
PageHelper.orderBy(orderBy);
}
}
/**
* 响应请求分页数据
*/