public function _updateAccessInfo() { if (!$this->_existsInDb()) { return; } M('Db')->exec("UPDATE " . $this->_mapper->table() . " SET access_id = ?, access_inherit = ? WHERE id = ?", $this->_accessId(), $this->_accessInherit(), $this->id()); $this->_mapper->storage()->cacheClear($this); }