RED-7679: Changed joining from same table row

This commit is contained in:
Ali Oezyetimoglu 2023-10-26 16:13:57 +02:00
parent 698244e3f1
commit 1098784e2d

View File

@ -429,7 +429,8 @@ public class ComponentCreationService {
.sorted(Comparator.comparingInt(Map.Entry::getKey))
.map(Map.Entry::getValue)
.forEach(entitiesInSameRow -> create(ruleIdentifier,
name, entitiesInSameRow.stream().sorted(EntityComparators.first()).map(Entity::getValue).collect(Collectors.joining(", ")),
name,
entitiesInSameRow.stream().sorted(EntityComparators.first()).map(Entity::getValue).collect(Collectors.joining(", ")),
valueDescription,
entitiesInSameRow));
});