Commit abd18c67 authored by suhuiguang's avatar suhuiguang

1.修改隐患返回的lng lag为隐患的位置信息

parent 2606a927
...@@ -65,10 +65,10 @@ public class FireLatentDangerDto extends BaseDto { ...@@ -65,10 +65,10 @@ public class FireLatentDangerDto extends BaseDto {
@ApiModelProperty(value = "纬度") @ApiModelProperty(value = "纬度")
private String lat; private String lat;
@ApiModelProperty(value ="隐患经度") @ApiModelProperty(value = "换流站经度")
private String sourceLng; private String stationLng;
@ApiModelProperty(value = "隐患纬度") @ApiModelProperty(value = "换流站纬度")
private String sourceLat; private String stationLat;
} }
...@@ -13,18 +13,10 @@ ...@@ -13,18 +13,10 @@
s.name as station_name, s.name as station_name,
d.station_code, d.station_code,
d.discovery_date, d.discovery_date,
<choose> d.lng,
<when test="stationCode != null and stationCode != ''"> d.lat,
d.lat, s.lng as stationLng,
d.lng, s.lat as stationLat
</when>
<otherwise>
s.lng,
s.lat,
</otherwise>
</choose>
d.lng as sourceLng,
d.lat as sourceLat
from from
asf_fire_latent_danger d, asf_fire_latent_danger d,
asf_fire_station_info s asf_fire_station_info s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment