Commit fd10b012 by 陶光胜

Merge branch 'developer' into 'master'

取数平台权限

See merge request !7
parents f02dac97 a9bbc977
...@@ -56,7 +56,7 @@ public class AlarmController { ...@@ -56,7 +56,7 @@ public class AlarmController {
List<RightMenuDTO> list = this.rightService.listSuperAdminAllGicWebMenu(SessionContextUtils.getLoginUserEnterpriseId(), ThirdProjectEnum.DATA_HOOK.getCode()); List<RightMenuDTO> list = this.rightService.listSuperAdminAllGicWebMenu(SessionContextUtils.getLoginUserEnterpriseId(), ThirdProjectEnum.DATA_HOOK.getCode());
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("custom_search".equals(menuDTO.getMenuCode()) && SessionContextUtils.getLoginUser().getSuperAdmin() == 1){ if("custom_search".equals(menuDTO.getMenuCode())){
alarmResult.put("customSearch", 1); alarmResult.put("customSearch", 1);
} }
} }
......
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