修改处方药品数据获取方式

This commit is contained in:
2023-03-01 14:21:13 +08:00
parent 80b63cd73d
commit ad7e6551f1
3 changed files with 109 additions and 14 deletions
+4 -2
View File
@@ -848,12 +848,14 @@ class UserDoctorService extends BaseService
// 订单-商品订单列表
$OrderPrescriptionService = new OrderPrescriptionService();
$order_product_items = $OrderPrescriptionService->getproductList($order_inquiry_id,$order_prescription_id);
$order_prescription_product = $OrderPrescriptionService->getproductList($order_inquiry_id,$order_prescription_id);
// 获取处方关联疾病表
}
$result = array();
$result['inquiry_case_product'] = $inquiry_case_product;// 用药意向
$result['order_product_items'] = $order_product_items ?? [];// 开方药品
$result['order_prescription_product'] = $order_prescription_product ?? [];// 开方药品
$result['case'] = $order_inquiry_case;// 病例数据
$result['prescription']['doctor_advice'] = $order_prescription['doctor_advice'] ?? "";// 医嘱