* Adjust logic of get execution by id list.

This commit is contained in:
liyuchun
2021-09-03 16:01:06 +08:00
parent bcd5feea24
commit e769b98b82
+1 -1
View File
@@ -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');
}
/**