Commit f65bd781 authored by 蔡闯's avatar 蔡闯

添加房间地址搜索

parent a91ada19
......@@ -23,6 +23,10 @@ class Vacancy extends Base
if(Request::param('name')) {
$where[] = ['hv.name','=',Request::param('name')];
}
if(Request::param('vacancy_code')) {
$vacancy_code = Request::param('vacancy_code');
$where[] = ['hv.vacancy_code','like',$vacancy_code."%"];
}
$total = Db::name('house_vacancy')->alias('hv')
->where($where)
->count();
......
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