]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Убрал точное вхождение
authorfomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 7 Apr 2025 09:29:27 +0000 (12:29 +0300)
committerfomichev <vladimir.fomichev@erp-flowers.ru>
Mon, 7 Apr 2025 09:29:27 +0000 (12:29 +0300)
erp24/services/StorePlanService.php

index 58c56ce4213ce5c44cae5de0820635cf73f51a49..b1c6e09edeea004fe68ad57517fae6c48b4c3afa 100755 (executable)
@@ -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();