Aggiunto controllo per annullare codVage se l'utente è un cliente
This commit is contained in:
@@ -86,7 +86,7 @@ public class OrdifyService {
|
||||
} else if (keyGroup == ISPETTORE.getText()) {
|
||||
String sql = "SELECT cod_vage FROM vtb_ispe WHERE cod_Visp = " + UtilityDB.valueToString(codVage);
|
||||
codVage = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql);
|
||||
} else {
|
||||
} else if(keyGroup == CLIENTE.getText()){
|
||||
codVage = EmsRestConstants.NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user