Merge pull request 'update' (#102) from zhangwei into master
Reviewed-on: http://git.excellentkk.cn/mkm/TaskSystem/pulls/102
This commit is contained in:
commit
5ee42ab1cb
@ -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'];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user