|
|
@ -244,17 +244,18 @@ public class CoverageServiceImpl implements CoverageService { |
|
|
|
if (CollectionUtils.isEmpty(customerMenuList)){ |
|
|
|
return result; |
|
|
|
} |
|
|
|
List<String> tables = new ArrayList<>(); |
|
|
|
List<String> tableMore = new ArrayList<>(); |
|
|
|
customerMenuList.forEach(cm -> { |
|
|
|
resources.forEach(r -> { |
|
|
|
if (cm.getUrl().equals(r)){ |
|
|
|
String tableName = MenusEnums.getValueByUrl(r); |
|
|
|
if (StringUtils.isNotBlank(tableName)){ |
|
|
|
tables.add(tableName); |
|
|
|
tableMore.add(tableName); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
List<String> tables = tableMore.stream().distinct().collect(Collectors.toList()); |
|
|
|
if (CollectionUtils.isEmpty(tables)){ |
|
|
|
return result; |
|
|
|
} |
|
|
|