|
|
@@ -109,7 +109,7 @@ public class ReportType extends Controller {
|
|
|
QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sys_reporttype", "type");
|
|
|
querySQL.setTableAlias("t1");
|
|
|
querySQL.setSiteid(siteid);
|
|
|
- querySQL.setWhere("exists(select 1 from sys_rolereportauth t2 where t1.siteid=t2.siteid and 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.setPage(pageSize, pageNumber);
|
|
|
Rows query = querySQL.query();
|