From c2f67e31d83e769677a4f1acca5eb616ec114d5c Mon Sep 17 00:00:00 2001 From: haomingming Date: Fri, 26 Dec 2025 14:45:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8A=84=E6=96=B9=E6=A0=87?= =?UTF-8?q?=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/PatientOrderService.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Services/PatientOrderService.php b/app/Services/PatientOrderService.php index 3e5bcd0..781b63d 100644 --- a/app/Services/PatientOrderService.php +++ b/app/Services/PatientOrderService.php @@ -2000,6 +2000,10 @@ class PatientOrderService extends BaseService if (!empty($order_prescription['data'])) { foreach ($order_prescription['data'] as &$item) { + + $item['original_doctor'] = null; + $item['transfer_order'] = false; + //处理抄方情况 $params = array(); $params['order_inquiry_id'] = $item['order_inquiry_id']; @@ -2014,7 +2018,8 @@ class PatientOrderService extends BaseService $TransferDoctor = UserDoctor::getOne($params, $fields); if (!empty($TransferDoctor)) { $TransferDoctor->doctor_title = DoctorTitleCode::getMessage($TransferDoctor->doctor_title); - $item['TransferDoctor'] = $TransferDoctor; + $item['original_doctor'] = $TransferDoctor; + $item['transfer_order'] = true; } } }