处理review中的sql语句错误
This commit is contained in:
parent
7fec8c5d1a
commit
57a6e4d654
|
@ -153,7 +153,7 @@ class ReviewController extends Zend_Controller_Action
|
||||||
|
|
||||||
$sql = "select r.id,r.uuid,r.userid,r.ts_created,u.realname,r.mdcomment,r.conclusion,ratt.reviewid from mdreview r
|
$sql = "select r.id,r.uuid,r.userid,r.ts_created,u.realname,r.mdcomment,r.conclusion,ratt.reviewid from mdreview r
|
||||||
left join users u on u.id=r.userid
|
left join users u on u.id=r.userid
|
||||||
right 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
|
||||||
";
|
";
|
||||||
|
|
Loading…
Reference in New Issue