master
cody 3 months ago
parent 5837e33e7b
commit 33d0cccf8f

@ -108,6 +108,9 @@ class CompanyController extends BaseController
} }
$query->whereBetween($key, [$from, $to]); $query->whereBetween($key, [$from, $to]);
} }
if ($key == 'company_tag' && $value == '被投企业') {
$query->orWhere('is_yh_invested', 1);
}
} }
} }
})->orderBy($all['sort_name'] ?? 'id', $all['sort_type'] ?? 'desc'); })->orderBy($all['sort_name'] ?? 'id', $all['sort_type'] ?? 'desc');

Loading…
Cancel
Save