cqpCow 1 жил өмнө
parent
commit
927eca16b6

+ 1 - 0
app/Service/ImportService.php

@@ -742,6 +742,7 @@ class ImportService extends Service
         }
         if(empty($array)) return [false, '导入数据不能为空'];
         $search = rtrim($search,' or');
+        $search = "($search)";
         $model = Product::ProductClear($user,[]);
         $product = $model->whereRaw($search)
             ->where('del_time',0)