Skip to content

Commit

Permalink
fix(upgrade-massivo): fix(upgrade-massivo): fix rollback massivo2 202…
Browse files Browse the repository at this point in the history
…40926
  • Loading branch information
sgravinadxc committed Sep 26, 2024
1 parent efef08d commit acbb374
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public class ImportMassivoCSVService {


@Async
@Transactional
public void process(ElaboratoCSVRequest csvRequest, String uuid) throws IOException {
List<ServiziElaboratiDTO> serviziValidati = csvRequest.getServiziValidati();
List<ServiziElaboratiDTO> serviziScartati = csvRequest.getServiziScartati();
Expand Down Expand Up @@ -887,7 +888,7 @@ private List<ServiziAggiuntiDTO> removeFromList(List<ServiziAggiuntiDTO> lista,
return listaresult;
}

@Transactional

private void rollbackCaricamentoMassivo(Long idRegistroAttivita) throws Exception {

servizioXCittadinoRepository.deleteAllByCodInserimento(idRegistroAttivita.toString());
Expand Down

0 comments on commit acbb374

Please sign in to comment.