Commit fbe5449c authored by clone's avatar clone

1

parent cfe4eeb1
......@@ -42,15 +42,17 @@ class OfficeRoomApiService
$where['b.disc'] = $params['disc']; //区
}
if (isset($params['id'])) {
$where['a.id'] = $params['id']; //楼盘id
}
if (isset($params['title'])) {
$where['b.title'] = ['LIKE', '%' . $params['title'] . '%']; //楼盘名
}
if (isset($params['id'])) {
$where['a.id'] = $params['id'];
if (isset($params['address'])) {
$where['b.address'] = ['LIKE', '%' . $params['address'] . '%']; //楼盘地址
}
if (isset($params['`business_district_id`'])) {
if (isset($params['business_district_id'])) {
$where['b.business_district_id'] = $params['business_district_id']; //商圈id
}
......
......@@ -1213,11 +1213,7 @@ class OfficeRoomService
$where['b.address'] = ['LIKE', '%' . $params['address'] . '%']; //楼盘地址
}
if (isset($params['id'])) {
$where['a.id'] = $params['id'];
}
if (isset($params['`business_district_id`'])) {
if (isset($params['business_district_id'])) {
$where['b.business_district_id'] = $params['business_district_id']; //商圈id
}
......
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