2
This commit is contained in:
parent
6301ae5079
commit
f9bf260291
@ -563,6 +563,15 @@ class DetectionService extends BaseService
|
|||||||
return fail(HttpEnumCode::HTTP_ERROR,"订单状态错误");
|
return fail(HttpEnumCode::HTTP_ERROR,"订单状态错误");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 检测是否已经创建问诊订单
|
||||||
|
if (!empty($order_detection['order_inquiry_id'])){
|
||||||
|
$result['status'] = 1;
|
||||||
|
$result['message'] = "成功";
|
||||||
|
$result['data'] = (string)$order_detection['order_inquiry_id'];
|
||||||
|
|
||||||
|
return success($result);
|
||||||
|
}
|
||||||
|
|
||||||
Db::beginTransaction();
|
Db::beginTransaction();
|
||||||
try {
|
try {
|
||||||
// 检测当前医生是否和患者存在未完成问诊订单
|
// 检测当前医生是否和患者存在未完成问诊订单
|
||||||
@ -749,6 +758,10 @@ class DetectionService extends BaseService
|
|||||||
return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage());
|
return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$result['status'] = 1;
|
||||||
|
$result['message'] = "成功";
|
||||||
|
$result['data'] = (string)$order_detection['order_inquiry_id'];
|
||||||
|
|
||||||
return success($result);
|
return success($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user