remove uncommented code
This commit is contained in:
parent
36d96b543a
commit
b75e0c9dd6
@ -83,7 +83,6 @@ public class HsOfficeDebitorController implements HsOfficeDebitorsApi {
|
|||||||
body.getDebitorRel().setType(DEBITOR.name());
|
body.getDebitorRel().setType(DEBITOR.name());
|
||||||
final var debitorRel = mapper.map(body.getDebitorRel(), HsOfficeRelationEntity.class);
|
final var debitorRel = mapper.map(body.getDebitorRel(), HsOfficeRelationEntity.class);
|
||||||
entityToSave.setDebitorRel(relRepo.save(debitorRel));
|
entityToSave.setDebitorRel(relRepo.save(debitorRel));
|
||||||
// FIXME em.flush();
|
|
||||||
} else {
|
} else {
|
||||||
final var debitorRelOptional = relRepo.findByUuid(body.getDebitorRelUuid());
|
final var debitorRelOptional = relRepo.findByUuid(body.getDebitorRelUuid());
|
||||||
debitorRelOptional.ifPresentOrElse(
|
debitorRelOptional.ifPresentOrElse(
|
||||||
|
Loading…
Reference in New Issue
Block a user