From 675d3f7026f5f86c173902dec85ab9fa80c6fdcd Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Tue, 6 Aug 2024 09:30:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A2=9E=E5=8A=A0=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/invoice/InvoiceIssuanceService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/invoice/InvoiceIssuanceService.php b/app/service/invoice/InvoiceIssuanceService.php index 0907136..97aed8f 100644 --- a/app/service/invoice/InvoiceIssuanceService.php +++ b/app/service/invoice/InvoiceIssuanceService.php @@ -53,7 +53,7 @@ class InvoiceIssuanceService $item->head_type = InvoiceHead::$typeArr[$InvoiceHead['type']]; $item->head_title = $InvoiceHead['title']; } - $item->project_id = InvoiceIssuance::$projectArr[$item->project_id]; + $item->project_id = InvoiceIssuance::$projectArr[$item->project_id] ?? ''; $item->status = InvoiceIssuance::$statusArr[$item->status]; }); return $data->toArray();