update
This commit is contained in:
parent
90e4cc0ac5
commit
93af53d815
@ -79,6 +79,9 @@ class VehicleContractController extends BaseAdminController
|
|||||||
$where[] = ['contract_no','like','%'.$param['contract_no'].'%'];
|
$where[] = ['contract_no','like','%'.$param['contract_no'].'%'];
|
||||||
}
|
}
|
||||||
if(isset($param['status']) && in_array($param['status'],[0,1])){
|
if(isset($param['status']) && in_array($param['status'],[0,1])){
|
||||||
|
if($param['status'] == 1){
|
||||||
|
$where[] = ['status','in', '1,2,3'];
|
||||||
|
}
|
||||||
$where[] = ['status','=', $param['status']];
|
$where[] = ['status','=', $param['status']];
|
||||||
}else{
|
}else{
|
||||||
$where[] = ['status','in', '0,1,2,3'];
|
$where[] = ['status','in', '0,1,2,3'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user