Commit 15bdf37ea1f2fc8fdc8ffd816ea49872f8f197dc
1 parent
dcefadb3
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/server_rs/base_info/station/buffer/StationRefreshThread.java
| @@ -27,7 +27,7 @@ public class StationRefreshThread extends Thread{ | @@ -27,7 +27,7 @@ public class StationRefreshThread extends Thread{ | ||
| 27 | 27 | ||
| 28 | try { | 28 | try { |
| 29 | //站点信息 | 29 | //站点信息 |
| 30 | - List<Station> stationList = jdbcTemplate.query("SELECT station_cod AS station_code,station_name,g_lonx AS lon,g_laty AS lat,shapes_type,radius,g_polygon_grid AS polygon_grid,versions FROM bsth_c_station where destroy=0 ", | 30 | + List<Station> stationList = jdbcTemplate.query("SELECT station_cod AS station_code,station_name,g_lonx AS lon,g_laty AS lat,shapes_type,radius,ST_AsText(g_polygon_grid) AS polygon_grid,versions FROM bsth_c_station where destroy=0 ", |
| 31 | BeanPropertyRowMapper.newInstance(Station.class)); | 31 | BeanPropertyRowMapper.newInstance(Station.class)); |
| 32 | 32 | ||
| 33 | if(stationList == null || stationList.size() == 0) | 33 | if(stationList == null || stationList.size() == 0) |