1
This commit is contained in:
@@ -324,10 +324,10 @@ class UserDoctor extends Model
|
||||
"Hospital:hospital_id,hospital_name,hospital_status,hospital_level_name,province_id,city_id",
|
||||
"DoctorExpertise",
|
||||
"DoctorInquiryConfig" => function ($query) use ($is_search_welfare_reception) {
|
||||
$inquiry_type = [1,3,4];
|
||||
$inquiry_type = [1,3];
|
||||
$is_enable = 0;
|
||||
if (!empty($is_search_welfare_reception)){
|
||||
$inquiry_type = [3,4];
|
||||
$inquiry_type = [3];
|
||||
$is_enable = 1;
|
||||
}
|
||||
|
||||
@@ -353,10 +353,10 @@ class UserDoctor extends Model
|
||||
$query->where($doctor_expertise_params);
|
||||
})
|
||||
->whereHas('DoctorInquiryConfig', function ($query) use ($is_search_welfare_reception) {
|
||||
$inquiry_type = [1,3,4];
|
||||
$inquiry_type = [1,3];
|
||||
$is_enable = 0;
|
||||
if (!empty($is_search_welfare_reception)){
|
||||
$inquiry_type = [3,4];
|
||||
$inquiry_type = [3];
|
||||
$is_enable = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user