跳至 public function getRow($where) { $select = $this->getSelect(); $select->where($where); $select->limit(1); $result = $this->selectWith($select); if(count($result)>0) { return $result->current(); } return null; }ログイン後にコピー