This commit is contained in:
unknown 2023-09-01 15:58:26 +08:00
parent 28565c1fa9
commit 2adb1dd1ff

View File

@ -81,8 +81,9 @@ class VehicleContractController extends BaseAdminController
if(isset($param['status']) && in_array($param['status'],[0,1])){
if($param['status'] == 1){
$where[] = ['status','in', '1,2,3'];
}else{
$where[] = ['status','=', $param['status']];
}
$where[] = ['status','=', $param['status']];
}else{
$where[] = ['status','in', '0,1,2,3'];
}