Fix Exception
This commit is contained in:
@@ -125,9 +125,9 @@ public class EngineController implements ServletContextAware {
|
||||
List<String> ret = jdbcTemplate.query(sql, parameters, new DBTools.JsonRowMapper());
|
||||
for (int i = 0; i < ret.size(); i++) {
|
||||
JSONObject obj = new JSONObject(ret.get(i));
|
||||
country_id=obj.getLong("country_id");
|
||||
country_id=obj.getLong("country_id"); //TODO Проверить должно по идее country_uid везде использоваться...
|
||||
}
|
||||
} catch( DataAccessException ex )
|
||||
} catch( Exception ex )
|
||||
{
|
||||
logger.error(ex.getMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user