<?php
/**
 * 文件名称（数据统计）
 * 文件简单描述（用于进行数据统计分析）
 * @author DouBin
 * @Date: 2024/10/15
 * @Time: 17:49
 * @Email: db@sudianwang.com
 * @version 1.0
 * @copyright BlueCity
 */

namespace App\Services;

use App\Models\Company;
use BlueCity\Core\Service\Service;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Log;
use Maatwebsite\Excel\Facades\Excel;
use phpDocumentor\Reflection\Types\Integer;
use BlueCity\Core\Inc\ErrorInc;

class DataStatisticsService extends Service{

    /**|---------------------------------------------------------------------------------
     * @name 获取公司信息
     * @retrun /multitype:array
     * @param string ID 公司id
     * @author dou 2022-12-05 005 下午 6:50:11
     * |---------------------------------------------------------------------------------
     */
    public static function getSerStatistics ( $session ){
        $db = new Company();
        $company = CommonService::getMysqlData($db, ['com_id'=>$id],$select,[],$type);
        return $company;
    }
}
