|
@@ -105,8 +105,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
|
|
|
$where[] = ['insert_time', '>=', $start_time_string];
|
|
$where[] = ['insert_time', '>=', $start_time_string];
|
|
|
$where[] = ['insert_time', '<=', $end_time_string];
|
|
$where[] = ['insert_time', '<=', $end_time_string];
|
|
|
$where[] = ['product_name', 'like', '%' . $product_name . '%'];
|
|
$where[] = ['product_name', 'like', '%' . $product_name . '%'];
|
|
|
- if ($enable_full_quantity == 1) $where[] = ['product_specs', 'like', '%' . $product_specs . '%']; //如果不是全量清洗,则查询规格
|
|
|
|
|
- if ($product_brand) $where[] = ['product_brand', 'like', '%' . $category_name . '%'];
|
|
|
|
|
|
|
+ if ($product_brand) $where[] = ['product_brand', 'like', '%' . $product_brand . '%'];
|
|
|
|
|
|
|
|
$ScrapeDataModel = $ScrapeDataModel
|
|
$ScrapeDataModel = $ScrapeDataModel
|
|
|
->orWhere(function ($q) use ($where, $enable_full_quantity, $product_specs, $product_keywords, $company_scope, $social_credit_code, $suggested_price, $platform) {
|
|
->orWhere(function ($q) use ($where, $enable_full_quantity, $product_specs, $product_keywords, $company_scope, $social_credit_code, $suggested_price, $platform) {
|