* Fix bug#3469.

This commit is contained in:
hufangzhou
2020-09-11 10:09:35 +08:00
parent a2038434c7
commit ea578deb07
+1
View File
@@ -515,6 +515,7 @@ class testtaskModel extends model
return $this->dao->select('*')->from(TABLE_CASE)->where($query)
->andWhere('id')->notIN($linkedCases)
->andWhere('status')->ne('wait')
->andWhere('type')->ne('unit')
->beginIF($task->branch)->andWhere('branch')->in("0,$task->branch")->fi()
->andWhere('deleted')->eq(0)
->orderBy('id desc')