|
@@ -237,6 +237,7 @@
|
237
|
237
|
|
238
|
238
|
<select id="selectMainBuildings" resultType="com.huiju.estateagents.entity.TaBuilding">
|
239
|
239
|
SELECT
|
|
240
|
+ CONCAT( c.`name`, t.building_area ) AS building_area,
|
240
|
241
|
t.*,
|
241
|
242
|
s.url AS list_poster,
|
242
|
243
|
GROUP_CONCAT( m.tag_name ) AS tags
|
|
@@ -245,6 +246,7 @@
|
245
|
246
|
LEFT JOIN ta_building_img s ON t.building_id = s.building_id
|
246
|
247
|
AND s.img_type = 'list'
|
247
|
248
|
LEFT JOIN ta_building_tag m ON t.building_id = m.building_id
|
|
249
|
+ LEFT JOIN td_city c ON t.city_id = c.id
|
248
|
250
|
WHERE
|
249
|
251
|
t.org_id = #{orgId}
|
250
|
252
|
<if test="cityId != null and cityId != ''">
|