1
This commit is contained in:
@@ -706,6 +706,10 @@ class PatientOrderService extends BaseService
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取处方订单列表
|
||||
* @return array
|
||||
*/
|
||||
public function getPatientPrescriptionOrderList(): array
|
||||
{
|
||||
$user_info = $this->request->getAttribute("userInfo") ?? [];
|
||||
@@ -729,4 +733,23 @@ class PatientOrderService extends BaseService
|
||||
|
||||
return success($order_prescription);
|
||||
}
|
||||
|
||||
public function getPatientPrescriptionOrderInfo(){
|
||||
$user_info = $this->request->getAttribute("userInfo") ?? [];
|
||||
|
||||
$order_prescription_id = $this->request->route('order_prescription_id');
|
||||
|
||||
// 获取处方数据
|
||||
$fields = [
|
||||
'order_prescription_id',
|
||||
'prescription_status',
|
||||
];
|
||||
$params = array();
|
||||
$params['order_prescription_id'] = $order_prescription_id;
|
||||
$params['patient_id'] = $user_info['client_user_id'];
|
||||
$params['pharmacist_audit_status'] = 1;
|
||||
$params['platform_audit_status'] = 1;
|
||||
$params['is_delete'] = 0;
|
||||
$order_prescription = OrderPrescription::getWithOne($params);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user