PortalPropertyService: PropertyValue null 필터 추가
This commit is contained in:
+1
@@ -30,6 +30,7 @@ public class PortalPropertyService extends AbstractDataService<PortalPropertyGro
|
|||||||
.orElse(new PortalPropertyGroup());
|
.orElse(new PortalPropertyGroup());
|
||||||
|
|
||||||
return portalPropertyGroup.getPortalProperties().stream()
|
return portalPropertyGroup.getPortalProperties().stream()
|
||||||
|
.filter(portalProperty -> portalProperty.getPropertyValue() != null)
|
||||||
.collect(Collectors.toMap(
|
.collect(Collectors.toMap(
|
||||||
portalProperty -> portalProperty.getId().getPropertyName(),
|
portalProperty -> portalProperty.getId().getPropertyName(),
|
||||||
PortalProperty::getPropertyValue,
|
PortalProperty::getPropertyValue,
|
||||||
|
|||||||
Reference in New Issue
Block a user