Commit ad352b00 authored by hujun's avatar hujun

房号搜索

parent e33cda4c
...@@ -1137,6 +1137,11 @@ class OfficeRoomService ...@@ -1137,6 +1137,11 @@ class OfficeRoomService
if (isset($params['is_show'])) { if (isset($params['is_show'])) {
$where['a.is_show'] = $params['is_show']; $where['a.is_show'] = $params['is_show'];
} }
//地址
if (isset($params['room_number'])) {
$where['a.room_number'] = ['like', '%' . $params['room_number'] . '%'];
}
return $where; return $where;
} }
......
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