|
@@ -13,7 +13,7 @@ use App\Models\Manager\Process\LowPriceGoods as LowPriceGoodsModel;
|
|
|
use App\Models\Manager\Personnel\Employee as EmployeeModel;
|
|
use App\Models\Manager\Personnel\Employee as EmployeeModel;
|
|
|
use App\Models\Api\Process\ExecuteLog as ExecuteLogModel;
|
|
use App\Models\Api\Process\ExecuteLog as ExecuteLogModel;
|
|
|
use App\Models\Manager\Process\ScrapeData as ScrapeDataModel;
|
|
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\WashConfig\ViolationCompanyMember as ViolationCompanyMemberModel;
|
|
|
use App\Models\Manager\Citys as CitysModel;
|
|
use App\Models\Manager\Citys as CitysModel;
|
|
|
use App\Models\Manager\Personnel\EmployeePlatform as EmployeePlatformModel;
|
|
use App\Models\Manager\Personnel\EmployeePlatform as EmployeePlatformModel;
|
|
@@ -68,7 +68,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
|
|
|
$EmployeeModel = new EmployeeModel();
|
|
$EmployeeModel = new EmployeeModel();
|
|
|
$LowPriceGoodsModel = new LowPriceGoodsModel();
|
|
$LowPriceGoodsModel = new LowPriceGoodsModel();
|
|
|
$ScrapeDataModel = new ScrapeDataModel();
|
|
$ScrapeDataModel = new ScrapeDataModel();
|
|
|
- $ViolationStoreModel = new ViolationStoreModel();
|
|
|
|
|
|
|
+ $ViolationCompanyModel = new ViolationCompanyModel();
|
|
|
$ViolationCompanyMemberModel = new ViolationCompanyMemberModel();
|
|
$ViolationCompanyMemberModel = new ViolationCompanyMemberModel();
|
|
|
$EmployeePlatformModel = new EmployeePlatformModel();
|
|
$EmployeePlatformModel = new EmployeePlatformModel();
|
|
|
$EmployeeAreaModel = new EmployeeAreaModel();
|
|
$EmployeeAreaModel = new EmployeeAreaModel();
|
|
@@ -210,7 +210,7 @@ class LowPriceGoodsDataJobs implements ShouldQueue
|
|
|
'shipment_city_name' => $product_data['shipment_city_name'],
|
|
'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.social_credit_code', $product_data['qualification_number'])
|
|
|
->where('washconfig_violation_company.company_id', $company_id)
|
|
->where('washconfig_violation_company.company_id', $company_id)
|
|
|
->select(['washconfig_violation_company.id', 'washconfig_company_category.name as category_name'])->first();
|
|
->select(['washconfig_violation_company.id', 'washconfig_company_category.name as category_name'])->first();
|