细节修改

This commit is contained in:
Li Jianxuan 2011-10-20 02:05:30 +00:00
parent f655214d46
commit f43305a34f
1 changed files with 2 additions and 2 deletions

View File

@ -493,7 +493,7 @@ class Admin_ReviewController extends Zend_Controller_Action
$this->view->keyword = $keyword;
}
$sql = "select m.id,md.title,u.username,u.realname,m.status from mdstatus m
$sql = "select m.id,md.uuid,md.title,u.username,u.realname,m.status from mdstatus m
left join metadata md on md.uuid=m.uuid
left join users u on u.id=m.userid
where u.id='$userid' $searchjoin";
@ -821,7 +821,7 @@ class Admin_ReviewController extends Zend_Controller_Action
$this->_redirect($redirect);
}
$sql = "select r.id,r.mdcomment,r.datacomment,r.editorcomment,u.realname,md.title,att.filename,r.ts_created,ratt.attachid as attid from mdreview r
$sql = "select r.id,r.uuid,r.mdcomment,r.datacomment,r.editorcomment,u.realname,md.title,att.filename,r.ts_created,ratt.attachid as attid from mdreview r
left join metadata md on md.uuid=r.uuid
left join users u on u.id=r.userid
left join mdreviewattach ratt on ratt.reviewid=r.id