Commit e98566b2 authored by 李尚科's avatar 李尚科
parents 3e03378b 974f22f7
Pipeline #6454 passed with stage
in 2 seconds
......@@ -561,6 +561,7 @@ class NewHouseService extends Service {
}
);
}
//里面的min和max也需要判断
if (condition.total_price && condition.total_price.hasOwnProperty('min') && condition.total_price.hasOwnProperty('max')) {//总价
filter.queryConditions.push(
{
......@@ -575,7 +576,7 @@ class NewHouseService extends Service {
}
);
}
if (condition.area) {//面积
if (condition.area && condition.area.hasOwnProperty('min') && condition.area.hasOwnProperty('max')) {//面积
filter.queryConditions.push(
{
key: 'houseArea',
......
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