* finish task #6960.

This commit is contained in:
wangyidong
2020-03-02 09:03:17 +08:00
parent 420a60ea8b
commit 579b17dec1
4 changed files with 22 additions and 19 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ class compileModel extends model
->leftJoin(TABLE_REPO)->alias('t3')->on('t2.repo=t3.id')
->leftJoin(TABLE_JENKINS)->alias('t4')->on('t2.jkHost=t4.id')
->where('t1.deleted')->eq('0')
->andWhere('t1.cijob')->eq($jobID)
->andWhere('t1.cijob')->ne('0')
->beginIF(!empty($jobID))->andWhere('t1.cijob')->eq($jobID)->fi()
->orderBy($orderBy)
->page($pager)
->fetchAll('id');