소스 검색

fix

master
Florian Eisenmenger 1 년 전
부모
커밋
93b5239c7b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      src/Mapper/DocumentApiToEntityMapper.php

+ 4
- 0
src/Mapper/DocumentApiToEntityMapper.php 파일 보기

@@ -63,6 +63,8 @@ class DocumentApiToEntityMapper implements MapperInterface
MicroMapperInterface::MAX_DEPTH => 1,
])
);
} else {
$entity->setPartner(null);
}
if ($dto->productIri !== null) {
$entity->setProduct(
@@ -70,6 +72,8 @@ class DocumentApiToEntityMapper implements MapperInterface
MicroMapperInterface::MAX_DEPTH => 1,
])
);
} else {
$entity->setProduct(null);
}
if ($dto->documentObject?->getId() !== $entity->getDocumentObject()?->getId()) {
$entity->setDocumentObject($dto->documentObject);


불러오는 중...
취소
저장