From e769b98b824fad682e7d9dc8beca13603a16e8e1 Mon Sep 17 00:00:00 2001 From: liyuchun Date: Fri, 3 Sep 2021 16:01:06 +0800 Subject: [PATCH] * Adjust logic of get execution by id list. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 91bf9aba47..37856dcef0 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1043,7 +1043,7 @@ class executionModel extends model */ public function getByIdList($executionIdList = array()) { - return $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->in($executionIdList)->fetchAll('id'); + return $this->dao->select('*')->from(TABLE_EXECUTION)->where('id')->in($executionIdList)->andWhere('deleted')->eq(0)->fetchAll('id'); } /**