Commit 5d6ff773 authored by chenhao's avatar chenhao

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

parent a9d912ce
......@@ -24,8 +24,29 @@ public class KeySiteDateDto {
private String floorLongitude;
@ApiModelProperty(value = "緯度")
private String floorLatitude;
private String belongName;
private Long belongId;
public String getKey() {
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() {
return key;
}
......
......@@ -146,9 +146,11 @@
c.`name` as label,
c.address_desc as fireLocation,
c.longitude as floorLongitude,
c.latitude AS floorLatitude
FROM cb_key_site c
where c.is_delete=FALSE
c.latitude AS floorLatitude,
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
<if test="id != null and id != -1">
AND c.`belong_id`= #{id}
</if>
......
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