getInfoById($id); } /**** * @param $attrs * @return mixed * @throws Exception * */ static public function add($attrs){ if (empty($attrs)) throw new Exception('参数不能为空', 102); $Table_index_csi300 = new Table_index_csi300(); $id = $Table_index_csi300->add($attrs); return $id; } /*** * @param $attrs * @param int $date * @return mixed * @throws Exception * */ static public function insert($attrs) { if (empty($attrs)) throw new Exception('参数不能为空', 102); $Table_index_csi300 = new Table_index_csi300(); $id = $Table_index_csi300->insert($attrs); return $id; } static public function getList($filter = array(), $count=0, $page=0, $pageSize=0) { $Table_index_csi300 = new Table_index_csi300(); return $Table_index_csi300->getList($filter, $count, $page, $pageSize); } } ?>