Finish Hotfix-1
This commit is contained in:
@@ -163,8 +163,12 @@ public class ExchangeDocumentImportService {
|
|||||||
singleUpdateImported(exchangeMultiDb.getPrimaryConnection(), (DtbDoct) dataToSave, useTempTable);
|
singleUpdateImported(exchangeMultiDb.getPrimaryConnection(), (DtbDoct) dataToSave, useTempTable);
|
||||||
|
|
||||||
if (!document.getDtbDocr().isEmpty()) {
|
if (!document.getDtbDocr().isEmpty()) {
|
||||||
document.setOperation(OperationType.NO_OP);
|
|
||||||
entityProcessor.processEntity(document, true, true, ROSSOGARGANO_EXCHANGE_USER, internalMultiDb, requestDataDTO);
|
if (document.getOperation() != OperationType.DELETE) {
|
||||||
|
document.setOperation(OperationType.NO_OP);
|
||||||
|
entityProcessor.processEntity(document, true, true, ROSSOGARGANO_EXCHANGE_USER, internalMultiDb, requestDataDTO);
|
||||||
|
}
|
||||||
|
|
||||||
singleUpdateImported(exchangeMultiDb.getPrimaryConnection(), document.getDtbDocr(), useTempTable);
|
singleUpdateImported(exchangeMultiDb.getPrimaryConnection(), document.getDtbDocr(), useTempTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user