1
This commit is contained in:
parent
3edcc2a1f8
commit
c5ec194984
@ -176,13 +176,6 @@ class DoctorInquiryService extends BaseService
|
||||
$params['inquiry_mode'] = $inquiry_mode;
|
||||
$doctor_inquiry_config = DoctorInquiryConfig::getOne($params);
|
||||
if (empty($doctor_inquiry_config)) {
|
||||
// 无问诊配置,快速问诊创建问诊配置并打开问诊。其余类型直接返回错误
|
||||
if ($inquiry_type != 2){
|
||||
// 快速问诊可能会存在未创建的情况
|
||||
Db::rollBack();
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "请先完善问诊配置");
|
||||
}
|
||||
|
||||
// 获取系统问诊配置表
|
||||
$params = array();
|
||||
$params['inquiry_type'] = $inquiry_type;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user