getInfoById($id); } static public function addOrUpdateByCodeDate($attrs) { if (empty($attrs)) throw new Exception('参数不能为空', 101); if (empty($attrs['code'])) throw new Exception('股票代码不能为空', 102); if (empty($attrs['date'])) throw new Exception('日期不能为空', 103); $Table_day_k_qfq = new Table_day_k_qfq(); $id = $Table_day_k_qfq->addOrUpdateByCodeDate($attrs); return $id; } static public function getList($filter = array(), $count=0, $page=0, $pageSize=0) { $Table_day_k_qfq = new Table_day_k_qfq(); return $Table_day_k_qfq->getList($filter, $count, $page, $pageSize); } } ?>