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
@@ -1574,6 +1574,7 @@ class bugModel extends model
->leftJoin(TABLE_PRODUCT)->alias('t2')
->on('t1.product=t2.id')
->where('t1.assignedTo')->eq($account)
->andWhere('t1.status')->ne('closed')
->beginIF(!empty($skipProductIDList))->andWhere('t1.product')->notin($skipProductIDList)->fi()
->beginIF(!empty($skipExecutionIDList))->andWhere('t1.execution')->notin($skipExecutionIDList)->fi()
->andWhere('t1.deleted')->eq(0)
+1
View File
@@ -3034,6 +3034,7 @@ class storyModel extends model
return $this->dao->select('id, title')
->from(TABLE_STORY)
->where('deleted')->eq(0)
->andWhere('status')->ne('closed')
->andWhere('type')->eq($type)
->andWhere('vision')->eq($this->config->vision)
->andWhere('assignedTo')->eq($account)
+1
View File
@@ -2343,6 +2343,7 @@ class taskModel extends model
->leftjoin(TABLE_PROJECT)->alias('t2')->on('t1.execution = t2.id')
->where('t1.assignedTo')->eq($account)
->andWhere('t1.deleted')->eq(0)
->andWhere('t1.status')->ne('closed')
->beginIF($this->config->vision)->andWhere('t1.vision')->eq($this->config->vision)->fi()
->beginIF($status != 'all')->andWhere('t1.status')->in($status)->fi()
->beginIF(!empty($skipExecutionIDList))->andWhere('t1.execution')->notin($skipExecutionIDList)->fi()
+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()