diff --git a/app/adminapi/controller/works/finance/InvoiceController.php b/app/adminapi/controller/works/finance/InvoiceController.php index b0c7504cc..3daf3c055 100644 --- a/app/adminapi/controller/works/finance/InvoiceController.php +++ b/app/adminapi/controller/works/finance/InvoiceController.php @@ -676,14 +676,6 @@ } $where[] = ['create_time','between',[strtotime($params['start_time']),strtotime($params['end_time'])]]; } - if(!empty($params['status'])){ - $where[] = match ($params['status']){ - 1=> [['check_status','=',2],['pay_admin_id','=',0],['pay_time','=',0]], //审批通过,待打款 - 2=> [['check_status','=',2],['pay_admin_id','>',0],['pay_time','>',0]], //审批通过,已打款 - }; - }else{ - $where[] = ['check_status','=',2]; - } if(!empty($params['status'])){ $where[] = match ($params['status']){ 1=> ['check_status','=',2], //审批通过,待开具