From ea578deb075dbfd6af479cab4816d6154da56676 Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Fri, 11 Sep 2020 10:09:35 +0800 Subject: [PATCH] * Fix bug#3469. --- module/testtask/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/testtask/model.php b/module/testtask/model.php index 9d1261efd0..7b55416254 100644 --- a/module/testtask/model.php +++ b/module/testtask/model.php @@ -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')