parent
0852c0912f
commit
3e28a4291f
@ -2000,6 +2000,9 @@ class PatientOrderService extends BaseService
|
||||
if (!empty($order_prescription['data'])) {
|
||||
foreach ($order_prescription['data'] as &$item) {
|
||||
|
||||
Log::getInstance("PatientOrderService-getPatientPrescriptionOrderList")->info("item 原来", [
|
||||
'item["UserDoctor"]' => $item['UserDoctor']->toArray(),
|
||||
]);
|
||||
|
||||
//处理抄方情况
|
||||
$params = array();
|
||||
@ -2015,6 +2018,11 @@ class PatientOrderService extends BaseService
|
||||
|
||||
$UserDoctor = UserDoctor::getOne($params, $fields);
|
||||
if (!empty($UserDoctor)) {
|
||||
Log::getInstance("PatientOrderService-getPatientPrescriptionOrderList")->info("成功设置UserDoctor", [
|
||||
'doctor_id' => $UserDoctor['doctor_id'] ?? null,
|
||||
'user_name' => $UserDoctor['user_name'] ?? null,
|
||||
'doctor_title' => $UserDoctor['doctor_title'] ?? null,
|
||||
]);
|
||||
$item['UserDoctor'] = $UserDoctor;
|
||||
}
|
||||
}
|
||||
@ -2023,6 +2031,10 @@ class PatientOrderService extends BaseService
|
||||
if (!empty($item['UserDoctor'])) {
|
||||
$item['UserDoctor']['doctor_title'] = DoctorTitleCode::getMessage($item['UserDoctor']['doctor_title']);
|
||||
}
|
||||
|
||||
Log::getInstance("PatientOrderService-getPatientPrescriptionOrderList")->info("item 最终", [
|
||||
'item["UserDoctor"]' => $item['UserDoctor']->toArray(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user