Importazione ordini smetar
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:
@@ -199,14 +199,14 @@ public class GeneraOrdLav {
|
|||||||
|
|
||||||
// Acquisizione dati prodoto da distinta base
|
// Acquisizione dati prodoto da distinta base
|
||||||
BigDecimal qtaProdDist = BigDecimal.ONE;
|
BigDecimal qtaProdDist = BigDecimal.ONE;
|
||||||
HashMap<String, Object> datiDistinta = getDatiDistinta(conn, codProd);
|
|
||||||
datiDistinta.put("cod_prod", codProd);
|
|
||||||
if (!UtilityString.equalsIgnoreCase(UtilityHashMap.getValueIfExists(datiDistinta, "cod_jfas"), codJfas) && !UtilityString.streNull(codJfas).isEmpty()) {
|
|
||||||
datiDistinta.remove(datiDistinta.get("cod_jfas"));
|
|
||||||
datiDistinta.put("cod_jfas", codJfas);
|
|
||||||
}
|
|
||||||
boolean existDist = false;
|
boolean existDist = false;
|
||||||
|
HashMap<String, Object> datiDistinta = getDatiDistinta(conn, codProd);
|
||||||
if (UtilityHashMap.isPresent(datiDistinta)) {
|
if (UtilityHashMap.isPresent(datiDistinta)) {
|
||||||
|
datiDistinta.put("cod_prod", codProd);
|
||||||
|
if (!UtilityString.equalsIgnoreCase(UtilityHashMap.getValueIfExists(datiDistinta, "cod_jfas"), codJfas) && !UtilityString.streNull(codJfas).isEmpty()) {
|
||||||
|
datiDistinta.remove(datiDistinta.get("cod_jfas"));
|
||||||
|
datiDistinta.put("cod_jfas", codJfas);
|
||||||
|
}
|
||||||
existDist = UtilityHashMap.getValueIfExists(datiDistinta, "hasRow");
|
existDist = UtilityHashMap.getValueIfExists(datiDistinta, "hasRow");
|
||||||
|
|
||||||
if (existDist) {
|
if (existDist) {
|
||||||
|
|||||||
Reference in New Issue
Block a user