Fix salvataggio viaggi senza cod forn trasp
This commit is contained in:
@@ -53,6 +53,7 @@ public class ViaggiService {
|
||||
|
||||
List<CreaViaggioDTO.PedanaDTO> pedane = creaViaggioDTO.getPedane();
|
||||
|
||||
if (!UtilityString.isNullOrEmpty(viaggio.getCodFornTrasp())) {
|
||||
String sql = Query.format(
|
||||
"SELECT gtb_anag.cod_anag,\n" +
|
||||
" gtb_anag.rag_soc\n" +
|
||||
@@ -123,6 +124,7 @@ public class ViaggiService {
|
||||
if (dtbDoct.getOperation() != null) {
|
||||
entityProcessor.processEntity(dtbDoct, true, multiDBTransactionManager);
|
||||
}
|
||||
}
|
||||
|
||||
multiDBTransactionManager.commitAll();
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user