非对称运算
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ public class ApplicationServiceImpl implements ApplicationService {
|
||||
BeanUtils.copyProperties(it, view);
|
||||
List<Long> sIds = appServiceMap.getOrDefault(it.getId(), Collections.emptyList());
|
||||
view.setServiceIds(sIds.stream().map(String::valueOf).collect(Collectors.toList()));
|
||||
view.setWhiteIps(appIpMap.get(it.getId()));
|
||||
view.setWhiteIps(appIpMap.getOrDefault(it.getId(), Collections.singletonList("")));
|
||||
String sn = sIds.stream()
|
||||
.map(snMap::get)
|
||||
.filter(Objects::nonNull)
|
||||
|
||||
Reference in New Issue
Block a user