Преглед изворни кода

[智价云] 低价清洗更新

tangyuanwang пре 1 дан
родитељ
комит
1daecd0b6c
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      app/Jobs/Manager/Process/LowPriceGoodsDataJobs.php

+ 3 - 3
app/Jobs/Manager/Process/LowPriceGoodsDataJobs.php

@@ -13,7 +13,7 @@ use App\Models\Manager\Process\LowPriceGoods as LowPriceGoodsModel;
 use App\Models\Manager\Personnel\Employee as EmployeeModel;
 use App\Models\Api\Process\ExecuteLog as ExecuteLogModel;
 use App\Models\Manager\Process\ScrapeData as ScrapeDataModel;
-use App\Models\Manager\WashConfig\ViolationStore as ViolationStoreModel;
+use App\Models\Manager\WashConfig\ViolationCompany as ViolationCompanyModel;
 use App\Models\Manager\WashConfig\ViolationCompanyMember as ViolationCompanyMemberModel;
 use App\Models\Manager\Citys as CitysModel;
 use App\Models\Manager\Personnel\EmployeePlatform as EmployeePlatformModel;
@@ -68,7 +68,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
         $EmployeeModel = new EmployeeModel();
         $LowPriceGoodsModel = new LowPriceGoodsModel();
         $ScrapeDataModel = new ScrapeDataModel();
-        $ViolationStoreModel = new ViolationStoreModel();
+        $ViolationCompanyModel = new ViolationCompanyModel();
         $ViolationCompanyMemberModel = new ViolationCompanyMemberModel();
         $EmployeePlatformModel = new EmployeePlatformModel();
         $EmployeeAreaModel = new EmployeeAreaModel();
@@ -210,7 +210,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
                 'shipment_city_name' => $product_data['shipment_city_name'],
             ];
             //获取公司绑定责任人信息
-            $company_data = $ViolationStoreModel->leftjoin('washconfig_company_category', 'washconfig_company_category.id', '=', 'washconfig_violation_company.category_id')
+            $company_data = $ViolationCompanyModel->leftjoin('washconfig_company_category', 'washconfig_company_category.id', '=', 'washconfig_violation_company.category_id')
                 ->where('washconfig_violation_company.social_credit_code', $product_data['qualification_number'])
                 ->where('washconfig_violation_company.company_id', $company_id)
                 ->select(['washconfig_violation_company.id', 'washconfig_company_category.name as category_name'])->first();