Merge remote-tracking branch 'origin/develop' into develop
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-11-28 16:01:18 +01:00

View File

@@ -169,7 +169,7 @@ public class GeneraOrdLav {
datiOrdLav = checkOrdLav(conn, ordProdSetupDTO.isCheckLockProd(), row.getGestione(), row.getDataOrd(), row.getNumOrd(), row.getRigaOrd());
activityID = UtilityHashMap.getValueIfExists(datiOrdLav, "activity_id");
// Verifica su è stato passato l'operatore dall'esterno
if (codJflavLav == null) {
if (UtilityString.isNullOrEmpty(codJflavLav )) {
codJflavLav = UtilityHashMap.getValueIfExists(datiOrdLav, "cod_jflav");
}
}
@@ -1719,7 +1719,7 @@ public class GeneraOrdLav {
// perchè se viene specificato l'utente che deve effettuare la lavorazione allora l'attività dovrà
// essere assegnata all'utente specificato
if (codJflavLav != null && !codJflavLav.equals(EmsRestConstants.NULL)) {
if (!UtilityString.isNullOrEmpty(codJflavLav)) {
String sql = " SELECT user_name " +
" FROM jrl_flav_users " +
"WHERE cod_jflav = " + UtilityDB.valueToString(codJflavLav) +