Commit 57e89231 by 徐高华

权限重复过滤

parent fb0d85b2
...@@ -283,7 +283,7 @@ public class HaobanMenuServiceImpl implements HaobanMenuService { ...@@ -283,7 +283,7 @@ public class HaobanMenuServiceImpl implements HaobanMenuService {
continue; continue;
} }
List<String> menuCodeList = Arrays.asList(gicMenuCode) ; List<String> menuCodeList = Arrays.asList(gicMenuCode) ;
String[] arr = haobanRoles.split("|") ; String[] arr = haobanRoles.split("\\|") ;
List<Integer> addRoleTypeList = Arrays.stream(arr).filter(o->StringUtils.isNotBlank(o)).map(o->Integer.valueOf(o)).collect(Collectors.toList()); List<Integer> addRoleTypeList = Arrays.stream(arr).filter(o->StringUtils.isNotBlank(o)).map(o->Integer.valueOf(o)).collect(Collectors.toList());
if(CollectionUtils.isEmpty(addRoleTypeList)) { if(CollectionUtils.isEmpty(addRoleTypeList)) {
logger.info("haobanRoles null {} , {}",gicMenuCode , haobanRoles); logger.info("haobanRoles null {} , {}",gicMenuCode , haobanRoles);
......
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