Fix exchange documenti

This commit is contained in:
2024-10-02 18:13:55 +02:00
parent ea779be68f
commit 27fa0aa24c

View File

@@ -124,6 +124,12 @@ public class ExchangeDocumentImportService {
((DtbDoct) x).setUpdProgMaga(false);
});
allRigheData.parallelStream()
.filter(x -> x.getOperation() == OperationType.INSERT)
.forEach(x -> {
x.setOperation(OperationType.INSERT_OR_UPDATE);
});
allRigheData.stream()
.map(x -> (DtbDocr) x)
.filter(x -> allTestateData.stream()