1
This commit is contained in:
parent
ebe6911fb8
commit
71947460b8
@ -332,7 +332,6 @@ class UserDoctorController extends AbstractController
|
|||||||
return $this->response->json($data);
|
return $this->response->json($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取医生问诊消息用户属性
|
* 获取医生问诊消息用户属性
|
||||||
* @return ResponseInterface
|
* @return ResponseInterface
|
||||||
|
|||||||
@ -432,7 +432,7 @@ class PatientDoctorService extends BaseService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return success();
|
return success($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -734,10 +734,23 @@ class PatientOrderService extends BaseService
|
|||||||
return fail(HttpEnumCode::HTTP_ERROR,"已使用");
|
return fail(HttpEnumCode::HTTP_ERROR,"已使用");
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (¥)
|
if ($order_prescription['pharmacist_audit_status'] != 1){
|
||||||
|
return fail(HttpEnumCode::HTTP_ERROR,"处方未审核");
|
||||||
|
}
|
||||||
|
|
||||||
// 检测是否已经存在药品订单数据
|
// 检测是否已经存在药品订单数据
|
||||||
|
$params = array();
|
||||||
|
$params['order_inquiry_id'] = $order_prescription['order_inquiry_id'];
|
||||||
|
$params['order_prescription_id'] = $order_prescription['order_prescription_id'];
|
||||||
|
$params['patient_id'] = $user_info['client_user_id'];
|
||||||
|
$order_product = OrderProduct::getExists($params);
|
||||||
|
if ($order_product){
|
||||||
|
return fail(HttpEnumCode::HTTP_ERROR,"处方已使用");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 新增药品订单
|
// 新增药品订单
|
||||||
// 新增药品订单详情
|
// 新增药品订单详情
|
||||||
// 修正处方使用状态
|
// 修正处方使用状态
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user