Commit 2740f174 authored by lixuan's avatar lixuan

feat: 房源

parent fc2c1b76
Pipeline #144707 failed with stages
in 27 minutes and 49 seconds
...@@ -126,13 +126,13 @@ ...@@ -126,13 +126,13 @@
SUM(t4.year_sell) AS income, SUM(t4.year_sell) AS income,
t3.nature, t3.nature,
t3.industry_classification, t3.industry_classification,
ROUND(t1.unit_price * 10000 / 365 / t1.house_area, 1) AS dayPrice ROUND(IFNULL(t1.unit_price,0) * 10000 / 365 / t1.house_area, 1) AS dayPrice
FROM FROM
house_resource t1 house_resource t1
LEFT JOIN grid_region t2 ON t2.wg_code = t1.four LEFT JOIN grid_region t2 ON t2.wg_code = t1.four
LEFT JOIN business_entity_info t3 ON t1.id = t3.house_resource_id LEFT JOIN business_entity_info t3 ON t1.id = t3.house_resource_id
LEFT JOIN business_entity_sell t4 ON t4.business_entity_info_id = t3.id LEFT JOIN business_entity_sell t4 ON t4.business_entity_info_id = t3.id
where t1.rental_unit = 5 and t1.unit_price is not null where t1.rental_unit = 5
<if test="query.wgType != null"> <if test="query.wgType != null">
and t1.type = #{query.wgType} and t1.type = #{query.wgType}
</if> </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