更新公司列表chax
This commit is contained in:
parent
0689f844d9
commit
4e48919944
@ -32,7 +32,7 @@
|
||||
$params=$this->request->post(['page_no','page_size','company_name','area_name','street_name','area_manager','company_type','is_contract']);
|
||||
$where = [];
|
||||
if(!empty($params['company_name'])){
|
||||
$where[] = ['company','like','%'.$params['company_name'].'%'];
|
||||
$where[] = ['company_name','like','%'.$params['company_name'].'%'];
|
||||
}
|
||||
if(!empty($params['area_name'])){
|
||||
$arr= Db::name('geo_area')->where('area_name','like','%'.$params['area_name'].'%')->column('area_code');
|
||||
|
Loading…
x
Reference in New Issue
Block a user