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
@@ -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()