Merge branch 'master' of http://git.excellentkk.cn/mkm/TaskSystem
This commit is contained in:
commit
8f6be73d33
@ -79,7 +79,11 @@ class VehicleContractController extends BaseAdminController
|
||||
$where[] = ['contract_no','like','%'.$param['contract_no'].'%'];
|
||||
}
|
||||
if(isset($param['status']) && in_array($param['status'],[0,1])){
|
||||
$where[] = ['status','=', $param['status']];
|
||||
if($param['status'] == 1){
|
||||
$where[] = ['status','in', '1,2,3'];
|
||||
}else{
|
||||
$where[] = ['status','=', $param['status']];
|
||||
}
|
||||
}else{
|
||||
$where[] = ['status','in', '0,1,2,3'];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user