function RSedsRegistDocJOINDocumentJOINRevolve1($cond="1", $orderby="CONVERT(edsRegistDoc.RegistDocId, SIGNED) desc, CONVERT(edsRegistDoc.DocId, SIGNED) desc"){
$this->SetQuery("SELECT *,edsRegistDoc.DocId AS DocIdT1,edsDocument.DocId AS DocIdT2 ,edsRegistDoc.RegistDocId AS RegistDocIdE4, edsRevolve.RegistDocId AS RegistDocIdE5 FROM edsRegistDoc, edsDocument, edsRevolve WHERE edsRegistDoc.DocId = edsDocument.DocId AND edsRegistDoc.RegistDocId = edsRevolve.RegistDocId AND $cond ORDER BY $orderby");
}