diff --git a/application/PreorderStatusflag/PreorderStatusflagModel.php b/application/PreorderStatusflag/PreorderStatusflagModel.php index c315694b0..dfb47a1f8 100644 --- a/application/PreorderStatusflag/PreorderStatusflagModel.php +++ b/application/PreorderStatusflag/PreorderStatusflagModel.php @@ -120,6 +120,13 @@ class PreorderStatusflagModel { } } + if (array_key_exists("ids", $filter)) { + $ids = $filter['ids']; + if (is_array($ids) && count($ids)) { + $where .= " AND PreorderStatusflag.id IN (" . implode(',', $ids) . ")"; + } + } + if (array_key_exists("create_by", $filter)) { $create_by = $filter['create_by']; if (is_numeric($create_by)) {