protected function getYibanInfo() { if (empty(self::$resource)) { return false; } if (!($db = Vera_Database::getInstance())) { return false; } $num = $this->getStuNum(); $result = $db->select('vera_Yiban', '*', array('xmu_num' => $num, 'fromApp' => 'mall')); if (!$result) { self::$yibanInfo = -1; return false; } self::$yibanInfo = $result[0]; return $result[0]; }