修改review中评审意见的调用顺序

This commit is contained in:
Li Jianxuan 2011-11-08 07:47:10 +00:00
parent 25d7c7c499
commit 9e0973104a
1 changed files with 1 additions and 2 deletions

View File

@ -156,6 +156,7 @@ class ReviewController extends Zend_Controller_Action
left join mdreviewattach ratt on r.id=ratt.reviewid left join mdreviewattach ratt on r.id=ratt.reviewid
where r.uuid='$uuid' and r.status>-1 where r.uuid='$uuid' and r.status>-1
group by r.id,r.uuid,r.userid,r.ts_created,u.realname,r.mdcomment,r.conclusion,ratt.reviewid group by r.id,r.uuid,r.userid,r.ts_created,u.realname,r.mdcomment,r.conclusion,ratt.reviewid
order by r.id desc
"; ";
$rs = $this->db->query($sql); $rs = $this->db->query($sql);
@ -437,8 +438,6 @@ class ReviewController extends Zend_Controller_Action
$row = $re->fetch(); $row = $re->fetch();
$file = new files();
$fullPath = $this->view->config->upload.$row['filename']; $fullPath = $this->view->config->upload.$row['filename'];
$fsize = filesize($fullPath); $fsize = filesize($fullPath);