Merge branch 'hotfix/Hotfix-1' into develop
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-04-24 11:53:09 +02:00

View File

@@ -912,7 +912,7 @@ public class OrderVerify {
HashMap<String, Object> result = UtilityDB.executeSimpleQueryOnlyFirstRow(conn, ls_query);
Double percSco4 = (double) 0;
if (result != null){
ll_row = result != null ? (Long) result.get("id") : 0;
ll_row = (Long) result.get("id");
percSco4 = (Double) result.get("perc_sco4");
}
if (ll_row == 1) {
@@ -1052,7 +1052,7 @@ public class OrderVerify {
for (HashMap<String,Object> result : results) {
// ACQUISIZIONE DATI RIGA ORDINE
ls_codMart = (String) result.get("cod_mart");
ls_rigaOrd = (String) result.get("riga_ord");
ls_rigaOrd = String.valueOf(result.get("riga_ord"));
ls_elencoCondContr = (String) result.get("note");
lc_qtaOrd = (Double) result.get("qta_ord");
lc_qtaOmg = (Double) result.get("qta_omg");
@@ -1088,7 +1088,7 @@ public class OrderVerify {
for (HashMap<String,Object> info: infoPromo) {
ls_scontoExtra = (String)info.get("sconto_extra");
ls_scontoExtra = String.valueOf(info.get("sconto_extra"));
ls_flagTipoPromo = (String)info.get("flag_tipo_promo");
// SE SI TRATTA DI SCONTO EXTRA E NON SI è RAGGIUNGE IL QUANTITATIVO NECESSARIA PER APPLICARLO