Finish Hotfix-1
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -65,9 +65,18 @@ public class ExchangeArticoliImportService {
|
||||
|
||||
allData.stream()
|
||||
.filter(x -> x.getOperation() == OperationType.INSERT)
|
||||
.forEach(x -> x.setOperation(OperationType.INSERT_OR_UPDATE));
|
||||
.map(x -> (MtbAart) x)
|
||||
.forEach(x -> x
|
||||
.setFlagStato("A")
|
||||
.setOperation(OperationType.INSERT_OR_UPDATE));
|
||||
|
||||
final Exception[] firstExceptionToThrow = {null};
|
||||
allData.parallelStream()
|
||||
.filter(x -> x.getOperation() == OperationType.DELETE)
|
||||
.map(x -> (MtbAart) x)
|
||||
.forEach(x -> x.setFlagStato("I")
|
||||
.setOperation(OperationType.UPDATE));
|
||||
|
||||
final Exception[] firstExceptionToThrow = { null };
|
||||
|
||||
AtomicInteger importedCounter = new AtomicInteger();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user