Selaa lähdekoodia

[智价云] 采集统计数量统计更新

tangyuanwang 4 viikkoa sitten
vanhempi
sitoutus
d616d8a3fb
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      app/Http/Controllers/Manager/Statistics/BasicPanel.php

+ 2 - 0
app/Http/Controllers/Manager/Statistics/BasicPanel.php

@@ -58,10 +58,12 @@ class BasicPanel extends Controller
             $lowPriceGoodsModel = $lowPriceGoodsModel->where('company_id', $company_id);
             $violationProductModel = $violationProductModel->where('company_id', $company_id);
             $violationStoreModel = $violationStoreModel->where('company_id', $company_id);
+            $productModel = $productModel->where('company_id', $company_id);
         } else {
             $lowPriceGoodsModel = $lowPriceGoodsModel->where('company_id', $admin_company_id);
             $violationProductModel = $violationProductModel->where('company_id', $admin_company_id);
             $violationStoreModel = $violationStoreModel->where('company_id', $admin_company_id);
+            $productModel = $productModel->where('company_id', $admin_company_id);
         }
 
         // 低价挂网商品数量查询