<iftest="param.name != null and param.name != ''">
AND CONCAT( REPLACE(b.province_name,'省',''), REPLACE(b.city_name,'市',''),b.region_name,b.name,case when a.area is null then '' else CONCAT(ROUND(a.area,0),'㎡') end ,a.type) LIKE concat('%', #{param.name}, '%')
</if>
/*载体类型*/
<iftest="param.carrierType != null and param.carrierType.size() > 0">
<iftest="param.carrierConstruction != null and param.carrierConstruction != ''">
AND a.structure=#{param.carrierConstruction}
</if>
<iftest="param.developmentId != null and param.developmentId != ''">
AND c.id=#{param.developmentId}
</if>
<iftest="param.provinceName != null and param.provinceName != ''">
AND b.province_name=#{param.provinceName}
</if>
<iftest="param.cityName != null and param.cityName != ''">
AND b.city_name=#{param.cityName}
</if>
<iftest="param.regionName != null and param.regionName != ''">
AND b.region_name=#{param.regionName}
</if>
<iftest="param.investmentDirection != null and param.investmentDirection != ''">
and (SELECT GROUP_CONCAT(c.industrial_track) from park_investment_direction_info c where c.park_id=b.id) like concat('%',#{param.investmentDirection}, '%')
</if>
/*载体面积*/
<iftest="param.lowCarrierArea != null and param.lowCarrierArea != ''">
AND a.area >=#{param.lowCarrierArea}
...
...
@@ -69,27 +61,6 @@
<iftest="param.highCarrierArea != null and param.highCarrierArea != ''">
AND a.area <= #{param.highCarrierArea}
</if>
/*层高*/
<iftest="param.lowFloorHeight != null and param.lowFloorHeight != ''">
AND a.floor_high >= #{param.lowFloorHeight}
</if>
<iftest="param.highFloorHeight != null and param.highFloorHeight != ''">
AND a.floor_high <= #{param.highFloorHeight}
</if>
/*承重*/
<iftest="param.lowLoadBearing != null and param.lowLoadBearing != ''">
AND a.weight >= #{param.lowLoadBearing}
</if>
<iftest="param.highLoadBearing != null and param.highLoadBearing != ''">
AND a.weight <= #{param.highLoadBearing}
</if>
/*柱距*/
<iftest="param.lowPillarDistance != null and param.lowPillarDistance != ''">
AND a.distance >= #{param.lowPillarDistance}
</if>
<iftest="param.highPillarDistance != null and param.highPillarDistance != ''">
AND a.distance <= #{param.highPillarDistance}
</if>
<iftest="param.parkId != null and param.parkId != ''">