This commit is contained in:
jinianlan
2019-08-01 09:07:46 +08:00
parent b85198eef6
commit 1289533006
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -930,7 +930,6 @@ class testtask extends control
$caseIDList = $this->post->caseIDList ? $this->post->caseIDList : die(js::locate($url, 'parent'));
$caseIDList = array_unique($caseIDList);
/* The case of tasks of qa. */
if($productID)
{
@@ -952,6 +951,7 @@ class testtask extends control
->leftJoin(TABLE_CASE)->alias('t2')->on('t1.case=t2.id')
->where('t2.id')->in($caseIDList)
->andWhere('t1.version=t2.version')
->andWhere('t2.status')->ne('wait')
->fetchGroup('case', 'id');
$this->view->caseIDList = $caseIDList;