去除注释
This commit is contained in:
parent
a47dccdedc
commit
6543cddfa8
@ -568,7 +568,6 @@ class DetectionService extends BaseService
|
|||||||
// 检测当前医生是否和患者存在未完成问诊订单
|
// 检测当前医生是否和患者存在未完成问诊订单
|
||||||
$InquiryService = new InquiryService();
|
$InquiryService = new InquiryService();
|
||||||
$order_inquiry = $InquiryService->checkPatientDoctorProgressInquiry($order_detection['patient_id'],$order_detection['doctor_id']);
|
$order_inquiry = $InquiryService->checkPatientDoctorProgressInquiry($order_detection['patient_id'],$order_detection['doctor_id']);
|
||||||
dump($order_inquiry);
|
|
||||||
if (!empty($order_inquiry)){
|
if (!empty($order_inquiry)){
|
||||||
if ($order_inquiry['inquiry_status'] == 1){
|
if ($order_inquiry['inquiry_status'] == 1){
|
||||||
// 待支付
|
// 待支付
|
||||||
@ -715,35 +714,35 @@ class DetectionService extends BaseService
|
|||||||
return fail();
|
return fail();
|
||||||
}
|
}
|
||||||
|
|
||||||
// // 发送im消息
|
// 发送im消息
|
||||||
// $imService = new ImService();
|
$imService = new ImService();
|
||||||
//
|
|
||||||
// // 患者病例
|
|
||||||
// $imService->patientCase(
|
|
||||||
// $order_inquiry,
|
|
||||||
// $user_doctor['user_id'],
|
|
||||||
// $order_inquiry_case['disease_desc']
|
|
||||||
// );
|
|
||||||
//
|
|
||||||
// // 发送IM消息-检测报告结果
|
|
||||||
// $imService->detectionTestReport(
|
|
||||||
// $order_detection,
|
|
||||||
// $user_doctor['user_id'],
|
|
||||||
// $order_detection['user_id'],
|
|
||||||
// $order_detection_case['detection_disease_class_names'],
|
|
||||||
// $detection_project['detection_project_name']
|
|
||||||
// );
|
|
||||||
//
|
|
||||||
// // 发送IM消息-检测报告结果-文字
|
|
||||||
// $imService->detectionTestReportStr(
|
|
||||||
// $order_detection,
|
|
||||||
// $user_doctor['user_name'],
|
|
||||||
// $detection_project['detection_project_name'],
|
|
||||||
// $user_doctor['user_id'],
|
|
||||||
// $order_detection['user_id']
|
|
||||||
// );
|
|
||||||
|
|
||||||
// Db::commit();
|
// 患者病例
|
||||||
|
$imService->patientCase(
|
||||||
|
$order_inquiry,
|
||||||
|
$user_doctor['user_id'],
|
||||||
|
$order_inquiry_case['disease_desc']
|
||||||
|
);
|
||||||
|
|
||||||
|
// 发送IM消息-检测报告结果
|
||||||
|
$imService->detectionTestReport(
|
||||||
|
$order_detection,
|
||||||
|
$user_doctor['user_id'],
|
||||||
|
$order_detection['user_id'],
|
||||||
|
$order_detection_case['detection_disease_class_names'],
|
||||||
|
$detection_project['detection_project_name']
|
||||||
|
);
|
||||||
|
|
||||||
|
// 发送IM消息-检测报告结果-文字
|
||||||
|
$imService->detectionTestReportStr(
|
||||||
|
$order_detection,
|
||||||
|
$user_doctor['user_name'],
|
||||||
|
$detection_project['detection_project_name'],
|
||||||
|
$user_doctor['user_id'],
|
||||||
|
$order_detection['user_id']
|
||||||
|
);
|
||||||
|
|
||||||
|
Db::commit();
|
||||||
}catch (\Throwable $e){
|
}catch (\Throwable $e){
|
||||||
Db::rollBack();
|
Db::rollBack();
|
||||||
Log::getInstance("DetectionService-bindDetectionTube")->error($e->getMessage());
|
Log::getInstance("DetectionService-bindDetectionTube")->error($e->getMessage());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user