Commit e326c4d3 authored by zhouxudong's avatar zhouxudong

是否有vr

parent 9a49dc64
...@@ -77,4 +77,6 @@ public class CarrierPageVo { ...@@ -77,4 +77,6 @@ public class CarrierPageVo {
/** 区/县 */ /** 区/县 */
@ApiModelProperty(value = "区/县") @ApiModelProperty(value = "区/县")
private String regionName; private String regionName;
@ApiModelProperty(value = "是否有VR 1-有;0-无")
private Integer isVr;
} }
...@@ -62,4 +62,6 @@ public class LandPageVo { ...@@ -62,4 +62,6 @@ public class LandPageVo {
@ApiModelProperty(value = "纬度(坐标系gcj02)") @ApiModelProperty(value = "纬度(坐标系gcj02)")
private BigDecimal latitude; private BigDecimal latitude;
@ApiModelProperty(value = "是否有VR 1-有;0-无")
private Integer isVr;
} }
...@@ -55,6 +55,8 @@ public class ParkPageVo { ...@@ -55,6 +55,8 @@ public class ParkPageVo {
@ApiModelProperty(value = "认证状态名称(1-未认证;2-认证中;3-已认证;4-已拒绝)") @ApiModelProperty(value = "认证状态名称(1-未认证;2-认证中;3-已认证;4-已拒绝)")
private String statusName; private String statusName;
@ApiModelProperty(value = "是否有VR 1-有;0-无")
private Integer isVr;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
} }
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
a.img_url, a.img_url,
a.structure, a.structure,
b.longitude, b.longitude,
b.latitude b.latitude,
exists(select * from sys_carousel_info where association_id = a.id and status = 1 and type = 5 and url_type = 3) as is_vr
from carrier_info a from carrier_info a
left join park_info b on a.park_id=b.id left join park_info b on a.park_id=b.id
left join development_info c on c.id=b.zone_id left join development_info c on c.id=b.zone_id
......
...@@ -60,7 +60,8 @@ ...@@ -60,7 +60,8 @@
b.region_code, b.region_code,
b.region_name, b.region_name,
b.longitude, b.longitude,
b.latitude b.latitude,
exists(select * from sys_carousel_info where association_id = a.id and status = 1 and type = 4 and url_type = 3) as is_vr
FROM FROM
development_industrial_land_info a development_industrial_land_info a
LEFT JOIN development_info b ON a.development_id = b.id LEFT JOIN development_info b ON a.development_id = b.id
......
...@@ -105,8 +105,9 @@ ...@@ -105,8 +105,9 @@
province_code, province_name,city_code, province_code, province_name,city_code,
city_name,region_code,region_name, city_name,region_code,region_name,
status,primary_industry,level_code, status,primary_industry,level_code,
level_name,cover_area,img_url,longitude,latitude level_name,cover_area,img_url,longitude,latitude,
from park_info exists(select * from sys_carousel_info where association_id = pi.id and status = 1 and type = 2 and url_type = 3 ) as is_vr
from park_info pi
<where> <where>
1 = 1 1 = 1
<if test="param.statusList != null and param.statusList.size() > 0 "> <if test="param.statusList != null and param.statusList.size() > 0 ">
......
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