Commit 9d49b685 authored by Hsinli's avatar Hsinli

addd

parent 44e79e90
Pipeline #5978 passed with stage
in 2 seconds
......@@ -323,13 +323,20 @@ class NewHouseService extends Service {
})
;
}
if (condition.type) {//户型
if (condition.house_type) {//户型
filter.queryConditions.push({
key: 'Apartment',
value: condition.type,
key: 'type',
value: condition.house_type,
operator: 'equal',
});
}
if (condition.name) {//关键词搜索 模糊查询
filter.queryConditions.push({
key: 'name',
value: condition.name,
operator: 'contains',
});
}
let newHouseList = await service.houseCommon.newHouse.all(filter);
let list = [];
if (newHouseList.rowCount > 0) {
......
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