| | |
| | | if (CollectionUtils.isEmpty(existAttributeVOList)) { |
| | | throw new VciBaseException("使用的属性都在系统中不存在,请先查证"); |
| | | } else { |
| | | Set<String> existAttributeOidSet = (existAttributeVOList.stream().collect(Collectors.toMap(s -> s.getId().toLowerCase().trim(), t -> t))).keySet(); |
| | | Set<String> existAttributeOidSet = (existAttributeVOList.stream().collect(Collectors.toMap(s -> s.getId().trim(), t -> t))).keySet(); |
| | | keyCollections.stream().forEach(s -> { |
| | | if (!existAttributeOidSet.contains(s)) { |
| | | throw new VciBaseException("使用的属性{0}在系统中不存在,请先查证", new Object[]{s}); |