Skip to content
Snippets Groups Projects
Commit f476d51a authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

OZG-6706 OZG-7500 Fix import

parent bcfec7f8
No related branches found
No related tags found
1 merge request!3OZG-6706 Map Bescheid in BescheidMapper.toGetBescheidResponse()
......@@ -47,7 +47,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import de.ozgcloud.command.Command;
import de.ozgcloud.common.binaryfile.FileId;
import de.ozgcloud.common.datatype.StringBasedValue;
import de.ozgcloud.document.bescheid.Bescheid.*;
import de.ozgcloud.document.bescheid.vorgang.VorgangId;
import de.ozgcloud.document.common.attached_item.AttachedItem;
import de.ozgcloud.document.common.attached_item.AttachedItemService;
......@@ -155,7 +154,7 @@ public abstract class BescheidMapper {
bescheidBuilder.nachrichtSubject(getNachrichtSubject(bescheidMap));
bescheidBuilder.nachrichtText(getNachrichtText(bescheidMap));
getSendBy(bescheidMap).ifPresent(bescheidBuilder::sendBy);
mapToAttachments(bescheidMap.get(Bescheid.FIELD_ATTACHMENTS)).ifPresent(bescheidBuilder::attachments);
mapToAttachments(bescheidMap.get(FIELD_ATTACHMENTS)).ifPresent(bescheidBuilder::attachments);
getSentInfo(bescheidMap).ifPresent(bescheidBuilder::sentInfo);
return bescheidBuilder;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment