Commit 5d6ff773 authored by chenhao's avatar chenhao

提交对于重点部位接口中查询建筑下的部位信息的详情字段值

parent a9d912ce
...@@ -25,6 +25,27 @@ public class KeySiteDateDto { ...@@ -25,6 +25,27 @@ public class KeySiteDateDto {
@ApiModelProperty(value = "緯度") @ApiModelProperty(value = "緯度")
private String floorLatitude; private String floorLatitude;
private String belongName;
private Long belongId;
public String getBelongName() {
return belongName;
}
public void setBelongName(String belongName) {
this.belongName = belongName;
}
public Long getBelongId() {
return belongId;
}
public void setBelongId(Long belongId) {
this.belongId = belongId;
}
public String getKey() { public String getKey() {
return key; return key;
} }
......
...@@ -146,8 +146,10 @@ ...@@ -146,8 +146,10 @@
c.`name` as label, c.`name` as label,
c.address_desc as fireLocation, c.address_desc as fireLocation,
c.longitude as floorLongitude, c.longitude as floorLongitude,
c.latitude AS floorLatitude c.latitude AS floorLatitude,
FROM cb_key_site c cou.biz_org_name as belongName,
c.belong_id as belongId
FROM cb_key_site c LEFT JOIN cb_org_usr cou on cou.sequence_nbr = c.belong_id
where c.is_delete=FALSE where c.is_delete=FALSE
<if test="id != null and id != -1"> <if test="id != null and id != -1">
AND c.`belong_id`= #{id} AND c.`belong_id`= #{id}
......
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