修改检测检测当前医生是否和患者存在未完成问诊订单如惨

This commit is contained in:
2023-08-28 09:05:14 +08:00
parent 48f180dbb1
commit a47dccdedc
3 changed files with 33 additions and 31 deletions
@@ -59,7 +59,7 @@ class DetectionCompleteDelayDirectConsumer extends ConsumerMessage
try {
// 检测当前医生是否和患者存在未完成问诊订单
$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)){
// 存在未完成订单
// 获取现在时间距离订单结束时间的时间差