/** 系统菜单 */ public String loadTreeMenus() throws Exception { List lst = indexComponent.loadTreeMenus(subSystemId); if (lst.size() > 0) { getRoot().setSimpleObj(TreeBuilder.createTree(lst, false).get(0)); } return "json-children"; }
/** * 查询营业厅树(分权限) * * @return * @throws Exception */ @SuppressWarnings("unchecked") public String queryDeptTree() throws Exception { List list = indexComponent.queryDeptTree(optr); getRoot().setRecords(TreeBuilder.createTree(list)); return JSON_RECORDS; }
public String queryLogs() throws Exception { getRoot().setPage(indexComponent.queryLogs(query, optr.getCounty_id(), start, limit)); return JSON_PAGE; }
public String queryBillRule() throws Exception { getRoot().setRecords(indexComponent.findBillRule(optr.getCounty_id())); return JSON_RECORDS; }
public String getTruleByDataType() throws Exception { getRoot().setRecords(indexComponent.getTruleByDataType(doneId, optr.getCounty_id())); return JSON_RECORDS; }
public String queryMenus() throws Exception { List<SResource> lst = indexComponent.queryMenus(subSystemId, optr.getOptr_id()); getRoot().setRecords(lst); return JSON_RECORDS; }
/** * 查询在线用户的操作记录 * * @return * @throws Exception */ public String queryOnelineUserBusi() throws Exception { getRoot().setRecords(indexComponent.queryOnelineUserBusi(query)); return JSON_RECORDS; }