Commit 337166ab by 陶光胜

取数平台权限

parent abffde53
...@@ -138,4 +138,14 @@ public class FlatQueryTable implements Serializable { ...@@ -138,4 +138,14 @@ public class FlatQueryTable implements Serializable {
public void setAuthStoreId(String authStoreId) { public void setAuthStoreId(String authStoreId) {
this.authStoreId = authStoreId; this.authStoreId = authStoreId;
} }
private String authDesc;
public String getAuthDesc() {
return authDesc;
}
public void setAuthDesc(String authDesc) {
this.authDesc = authDesc;
}
} }
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
q.click_count, q.click_count,
q.download_count, q.download_count,
f.is_favo, f.is_favo,
q.auth_store_id q.auth_store_id,
q.auth_desc
</sql> </sql>
<sql id="queryJoins"> <sql id="queryJoins">
......
...@@ -74,6 +74,11 @@ public class FlatQueryController { ...@@ -74,6 +74,11 @@ public class FlatQueryController {
List<String> tables = new ArrayList<>(); List<String> tables = new ArrayList<>();
if(org.apache.commons.collections.CollectionUtils.isNotEmpty(list)){ if(org.apache.commons.collections.CollectionUtils.isNotEmpty(list)){
for(RightMenuDTO menuDTO : list){ for(RightMenuDTO menuDTO : list){
if(SessionContextUtils.getLoginUser().getSuperAdmin() != 1){
if("extract_integral_cost_bill_m".equals(menuDTO.getMenuCode())){
continue;
}
}
tables.add(menuDTO.getMenuCode()); tables.add(menuDTO.getMenuCode());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment