浏览代码

已授权报表分类查询bug修复

郭齐峰 2 年之前
父节点
当前提交
41320d7f05
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/custom/restcontroller/webmanage/sale/reporttype/ReportType.java

+ 1 - 0
src/custom/restcontroller/webmanage/sale/reporttype/ReportType.java

@@ -112,6 +112,7 @@ public class ReportType extends Controller {
             querySQL.setWhere("exists(select 1 from sys_rolereportauth t2 where t1.sys_reportid=t2.sys_reportid and t2.roleid in" + roleids + ")");
             querySQL.setWhere("exists(select 1 from sys_rolereportauth t2 where t1.sys_reportid=t2.sys_reportid and t2.roleid in" + roleids + ")");
             querySQL.addGroupBy("type");
             querySQL.addGroupBy("type");
             querySQL.setPage(pageSize, pageNumber);
             querySQL.setPage(pageSize, pageNumber);
+            querySQL.setOrderBy(pageSorting);
             Rows query = querySQL.query();
             Rows query = querySQL.query();
             return getSucReturnObject().setData(query).toString();
             return getSucReturnObject().setData(query).toString();
         }
         }