示例#1
0
 protected function findModel($id)
 {
     $sql = 'select * from ' . $this->currentTableName . ' where id=' . $id;
     return LuLu::queryOne($sql);
 }
示例#2
0
 public static function queryOne($sql)
 {
     return LuLu::queryOne($sql);
 }