This commit is contained in:
zhouxudong
2022-04-08 11:15:16 +08:00
parent 5c78c8825d
commit d60ce0159c
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -1046,6 +1046,7 @@ class testtaskModel extends model
->from(TABLE_TESTTASK)->alias('t1')
->leftjoin(TABLE_EXTENSION)->alias('t2')->on('t1.execution = t2.id')
->where('t1.owner')->eq($account)
->andWhere('t1.status')->ne('done')
->andWhere('t1.deleted')->eq(0)
->beginIF($status != 'all')->andWhere('t1.status')->in($status)->fi()
->beginIF(!empty($skipProductIDList))->andWhere('t1.product')->notin($skipProductIDList)->fi()