22
Some checks are pending
Build Docker / build (push) Waiting to run

This commit is contained in:
haomingming 2025-12-26 13:21:00 +08:00
parent b1be3e9acc
commit 0852c0912f

View File

@ -2015,17 +2015,13 @@ class PatientOrderService extends BaseService
$UserDoctor = UserDoctor::getOne($params, $fields); $UserDoctor = UserDoctor::getOne($params, $fields);
if (!empty($UserDoctor)) { if (!empty($UserDoctor)) {
Log::getInstance("PatientOrderService-getPatientPrescriptionOrderList")->info("成功设置UserDoctor", [
'doctor_id' => $UserDoctor['doctor_id'] ?? null,
'user_name' => $UserDoctor['user_name'] ?? null,
]);
$item['UserDoctor'] = $UserDoctor; $item['UserDoctor'] = $UserDoctor;
} }
} }
} }
if (!empty($item['UserDoctor'])) { if (!empty($item['UserDoctor'])) {
$item['UserDoctor']->doctor_title = DoctorTitleCode::getMessage($item['UserDoctor']->doctor_title); $item['UserDoctor']['doctor_title'] = DoctorTitleCode::getMessage($item['UserDoctor']['doctor_title']);
} }
} }
} }