GetOne? 有时候失效
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function GetMaxLevel($model) { $sql = "select max(slevel) from boxfile where model = '$model'"; $record_nums = $this->db->GetOne($sql); //print_r($record_nums); return $record_nums; }