letto sempre il listino dalla setup
Some checks are pending
IntegryManagementSystem_Multi/pipeline/head Build queued...

This commit is contained in:
2025-02-13 10:46:17 +01:00
parent 0272408f23
commit 1e5a4641d3

View File

@@ -456,8 +456,7 @@ public class DocumentiDirettiService {
sql = Query.format(
"SELECT vtb_clie.cod_anag,\n" +
" gtb_anag.rag_soc,\n" +
" vtb_clie.cod_vlis\n" +
" gtb_anag.rag_soc \n" +
"FROM gtb_anag\n" +
" INNER JOIN vtb_clie ON gtb_anag.cod_anag = vtb_clie.cod_anag\n" +
"WHERE gtb_anag.part_iva = %s\n" +
@@ -480,13 +479,11 @@ public class DocumentiDirettiService {
}
codAnagPed = (String) datiCliente.get(0).get("cod_anag");
//listino = (String) datiCliente.get(0).get("cod_vlis");
if (UtilityString.isNullOrEmpty(listino)) {
listino = setupSection.get(keySectionListino);
if (UtilityString.isNullOrEmpty(listino))
throw new Exception(String.format("Listino per la creazione delle bolle di consegna delle pedane non configurato %s -> %s -> %s", gestName, section, keySectionListino));
}
listino = setupSection.get(keySectionListino);
if (UtilityString.isNullOrEmpty(listino))
throw new Exception(String.format("Listino per la creazione delle bolle di consegna delle pedane non configurato %s -> %s -> %s", gestName, section, keySectionListino));
} else {
codAnagPed = dtbDoct.getCodAnag();
listino = dtbDoct.getListino();