From df9b60e570ac4ee79a8187c781808dbaac39dd33 Mon Sep 17 00:00:00 2001 From: fomichev Date: Mon, 7 Apr 2025 12:29:27 +0300 Subject: [PATCH] =?utf8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20=D1=82=D0=BE?= =?utf8?q?=D1=87=D0=BD=D0=BE=D0=B5=20=D0=B2=D1=85=D0=BE=D0=B6=D0=B4=D0=B5?= =?utf8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/StorePlanService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erp24/services/StorePlanService.php b/erp24/services/StorePlanService.php index 58c56ce4..b1c6e09e 100755 --- a/erp24/services/StorePlanService.php +++ b/erp24/services/StorePlanService.php @@ -376,8 +376,8 @@ class StorePlanService ->where(new \yii\db\Expression('(property_id, value) IN (' . implode(', ', array_map(function($pair) { return "('" . implode("','", $pair) . "')"; }, $conditions)) . ')')) - ->groupBy('product_id') - ->having('COUNT(*) = :cnt', [':cnt' => $countChars]); + ->groupBy('product_id'); + // ->having('COUNT(*) = :cnt', [':cnt' => $countChars]); $similarProductIds = $query->column(); // var_dump($similarProductIds); die(); -- 2.39.5