cqpCow 1 년 전
부모
커밋
927eca16b6
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Service/ImportService.php

+ 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)