* Finish task #8882,8884.

This commit is contained in:
tianshujie98
2021-01-01 09:54:34 +08:00
parent 40517fa1ec
commit cf613fdbac
14 changed files with 41 additions and 30 deletions
-2
View File
@@ -521,8 +521,6 @@ class testcaseModel extends model
->leftJoin(TABLE_CASE)->alias('t2')->on('t1.case = t2.id')
->leftJoin(TABLE_TESTTASK)->alias('t3')->on('t1.task = t3.id')
->where('t1.assignedTo')->eq($account)
->andWhere('t1.status')->ne('done')
->andWhere('t3.status')->ne('done')
->andWhere('t3.deleted')->eq(0)
->andWhere('t2.deleted')->eq(0)
->beginIF($auto != 'skip' and $auto != 'unit')->andWhere('t2.auto')->ne('unit')->fi()