From bee77c37a7d3cf8e5296e939de9ba4a16ea6b8eb Mon Sep 17 00:00:00 2001 From: sunguangming Date: Fri, 17 Oct 2025 02:06:38 +0000 Subject: [PATCH] * [bug#66219,done,0.2h] fix bug. --- module/testcase/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/model.php b/module/testcase/model.php index 354d759f80..48b683ba34 100755 --- a/module/testcase/model.php +++ b/module/testcase/model.php @@ -2797,7 +2797,7 @@ class testcaseModel extends model ->beginIF($browseType != 'bysearch')->andWhere('lib')->eq($libID)->fi() ->beginIF($browseType == 'bysearch')->andWhere($query)->fi() ->beginIF(count($canImport) <= count($canNotImport))->andWhere('id')->in($canImport)->fi() - ->beginIF(count($canImport) > count($canNotImport))->andWhere('id')->notIn($canNotImport)->fi() + ->beginIF(count($canImport) > count($canNotImport) && !empty($canNotImport))->andWhere('id')->notIn($canNotImport)->fi() ->andWhere('product')->eq(0) ->orderBy($orderBy) ->page($pager)