This commit is contained in:
wucongxing 2023-03-13 17:16:15 +08:00
parent 71947460b8
commit b688cc6e3b
2 changed files with 9 additions and 2 deletions

View File

@ -371,7 +371,7 @@ class PatientDoctorService extends BaseService
$doctor_id = $this->request->input('doctor_id','');
$result = array();
$result['data'] = [];
$result['data'] = "";
$result['message'] = "可接诊";
$result['status'] = 1;

View File

@ -748,8 +748,15 @@ class PatientOrderService extends BaseService
return fail(HttpEnumCode::HTTP_ERROR,"处方已使用");
}
// 获取处方药品数据
$params = array();
$params['order_prescription_id'] = $order_prescription['order_prescription_id'];
$order_prescription_product = OrderPrescriptionProduct::getList($params);
if (empty($order_prescription_product)){
return fail(HttpEnumCode::HTTP_ERROR,"处方药品错误");
}
dump($order_prescription_product->toArray());
// 新增药品订单
// 新增药品订单详情