添加遗漏的分页参数合理化属性

feature/model
RuoYi 3 years ago
parent d2872539e3
commit eb11337f7d

@ -23,7 +23,8 @@ public class PageUtils extends PageHelper
if (StringUtils.isNotNull(pageNum) && StringUtils.isNotNull(pageSize))
{
String orderBy = SqlUtil.escapeOrderBySql(pageDomain.getOrderBy());
PageHelper.startPage(pageNum, pageSize, orderBy);
Boolean reasonable = pageDomain.getReasonable();
PageHelper.startPage(pageNum, pageSize, orderBy).setReasonable(reasonable);
}
}
}

Loading…
Cancel
Save