Finish Hotfix-43
This commit is contained in:
@@ -219,7 +219,7 @@ public class ProductionsRules extends QueryRules {
|
||||
return mezzo;
|
||||
}
|
||||
public static String completeCodLingua(Connection connection, String codAnag) throws SQLException {
|
||||
String sql = "SELECT case when gtb_anag.nazione is null then (select nazione from azienda) else gtb_nazi.cod_lingua end " +
|
||||
String sql = "SELECT case when gtb_anag.nazione is null then (select cod_lingua from azienda inner join gtb_nazi on azienda.nazione = gtb_nazi.nazione) else gtb_nazi.cod_lingua end " +
|
||||
" FROM gtb_anag left outer join gtb_nazi on gtb_anag.nazione = gtb_nazi.nazione " +
|
||||
" left outer join gtb_lingue on gtb_nazi.cod_lingua = gtb_lingue.cod_lingua " +
|
||||
" WHERE gtb_anag.cod_anag = " + UtilityDB.valueToString(codAnag);
|
||||
|
||||
Reference in New Issue
Block a user