From 7bfe86cb940cc46384f659e578b024ebdc1d2ed5 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Fri, 26 Apr 2024 13:30:09 +0800 Subject: [PATCH] 3 --- app/Services/PatientOrderService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 5863dfe..daef9f3 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -3190,7 +3190,7 @@ class PatientOrderService extends BaseService $params['order_product_id'] = $order_service_package_product['order_product_id']; $order_product = OrderProduct::getOne($params); if (!empty($order_product)){ - $result['order_product'] = $order_product->toArray(); + $result['order_product'][] = $order_product->toArray(); } }