|
@@ -409,8 +409,8 @@ class BiController extends ApiBaseController
|
|
{
|
|
{
|
|
$data = [];
|
|
$data = [];
|
|
//企业数和岗位数
|
|
//企业数和岗位数
|
|
- $company_count = Company::where(1)->count();
|
|
|
|
- $job_count = Jobs::where(1)->count();
|
|
|
|
|
|
+ $company_count = Company::count();
|
|
|
|
+ $job_count = Jobs::count();
|
|
$data['total_count'] = [
|
|
$data['total_count'] = [
|
|
['name' => '企业数', 'count' => $company_count],
|
|
['name' => '企业数', 'count' => $company_count],
|
|
['name' => '岗位数', 'count' => $job_count]
|
|
['name' => '岗位数', 'count' => $job_count]
|