jobfairRepository = $jobfairRepository; $this->jobfairCompanyRepository = $jobfairCompanyRepository; $this->jobfairPutJobRepository = $jobfairPutJobRepository; $this->jobfairPersonSignedRepository = $jobfairPersonSignedRepository; } public function getJobfairNum($where) { return $this->jobfairRepository->getJobfairNum($where); } public function getJobfairVisitorNum($where = []) { return $this->jobfairPersonSignedRepository->getJobfairVisitorNum($where); } public function getJobfairIds($where) { $rst = $this->jobfairRepository->getStatisticsJobfairs($where); return $rst->pluck('id')->toArray(); } public function getCompanyCount($where, $whereIn) { return $this->jobfairCompanyRepository->getStatisticsCompanyCount($where, $whereIn); } public function getJobsCount($where, $whereIn) { return $this->jobfairPutJobRepository->getStatisticsJobCount($where, $whereIn); } public function getJobsAmount($where, $whereIn) { return $this->jobfairPutJobRepository->getStatisticsJobAmount($where, $whereIn); } public function getPersonNums($where, $whereIn, $groupBy) { return $this->jobfairPersonSignedRepository->getStatisticsPersonList($where, $whereIn, $groupBy); } public function getSignPersonEducations($type, $where, $whereIn, $groupBy, $fields) { return $this->jobfairPersonSignedRepository->getStatisticsPersonEducations($type, $where, $whereIn, $groupBy, $fields); } }