* [task#125055,done,0.1h,0h] Add sapces to sql.

This commit is contained in:
zhaixiaojian
2024-08-13 19:15:05 +08:00
committed by 丁国栋
parent 49d5d68aaf
commit 894e3eabe2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -426,8 +426,8 @@ class designModel extends model
{
return $this->dao->select('t1.revision,t3.id AS id,t3.name AS title')
->from(TABLE_REPOHISTORY)->alias('t1')
->leftJoin(TABLE_RELATION)->alias('t2')->on('t2.relation="completedin" and t2.BType="commit" and t2.BID=t1.id')
->leftJoin(TABLE_DESIGN)->alias('t3')->on('t2.AType="design" and t2.AID=t3.id')
->leftJoin(TABLE_RELATION)->alias('t2')->on('t2.relation="completedin" AND t2.BType="commit" AND t2.BID=t1.id')
->leftJoin(TABLE_DESIGN)->alias('t3')->on('t2.AType="design" AND t2.AID=t3.id')
->where('t1.revision')->in($revisions)
->andWhere('t1.repo')->eq($repoID)
->andWhere('t3.id')->ne('')