修改检测检测当前医生是否和患者存在未完成问诊订单如惨
This commit is contained in:
@@ -1690,7 +1690,7 @@ class CallBackController extends AbstractController
|
||||
|
||||
// 检测当前医生是否和患者存在未完成问诊订单
|
||||
$InquiryService = new InquiryService();
|
||||
$order_inquiry = $InquiryService->checkPatientDoctorProgressInquiry($order_detection['user_id'],$order_detection['doctor_id']);
|
||||
$order_inquiry = $InquiryService->checkPatientDoctorProgressInquiry($order_detection['patient_id'],$order_detection['doctor_id']);
|
||||
if(!empty($order_inquiry)){
|
||||
// 存在问诊订单
|
||||
$time_diff = $InquiryService->getInquiryFinishTimeDiff($order_inquiry);
|
||||
@@ -1698,6 +1698,7 @@ class CallBackController extends AbstractController
|
||||
$time_diff = 60;
|
||||
}
|
||||
|
||||
dump($time_diff);
|
||||
// 计算时间并重新加入队列
|
||||
$queue_data = array();
|
||||
$queue_data['detection_no'] = $order_detection['detection_no'];
|
||||
|
||||
Reference in New Issue
Block a user