Fix Exception

This commit is contained in:
Igor I
2026-06-09 08:12:10 +05:00
parent a2982790f6
commit 4b3dc84500
@@ -125,9 +125,9 @@ public class EngineController implements ServletContextAware {
List<String> ret = jdbcTemplate.query(sql, parameters, new DBTools.JsonRowMapper()); List<String> ret = jdbcTemplate.query(sql, parameters, new DBTools.JsonRowMapper());
for (int i = 0; i < ret.size(); i++) { for (int i = 0; i < ret.size(); i++) {
JSONObject obj = new JSONObject(ret.get(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()); logger.error(ex.getMessage());
} }