Commit 33ce6f01 authored by Hsinli's avatar Hsinli

fix new house

parent 51a5a1e9
Pipeline #19273 passed with stage
in 7 seconds
......@@ -69,7 +69,7 @@ module.exports = app => {
allowNull: true
},
house_type: {
type: INTEGER,
type: STRING,
allowNull: true
},
reference_avg_price: {
......
......@@ -460,6 +460,7 @@ class NewHouseService extends Service {
price: Number(newHouseInfo.reference_avg_price) === 0 ? '--' : Number(newHouseInfo.reference_avg_price),
corner: newHouseInfo.corner || '',
sale_type: SaleType[newHouseInfo.sale_type] || SaleType[3],//销售状态 0未开售,1售罄,2预售,3在售
property_type: newHouseInfo.house_type.split(',').slice(0, 2),//物业类型
}
return ret;
}
......
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