|
|
@@ -18,6 +18,7 @@ use App\Models\Manager\Citys as CitysModel;
|
|
|
use App\Models\Manager\Personnel\EmployeePlatform as EmployeePlatformModel;
|
|
|
use App\Models\Manager\Personnel\EmployeeArea as EmployeeAreaModel;
|
|
|
use App\Models\Manager\WashConfig\ViolationStore as ViolationStoreModel;
|
|
|
+use App\Models\Manager\Process\ViolationStore as ProcessViolationStoreModel;
|
|
|
|
|
|
/**
|
|
|
* 数据清洗-违规公司店铺清洗数据队列
|
|
|
@@ -69,7 +70,7 @@ class ViolationCompanyDataJobs implements ShouldQueue
|
|
|
$CitysModel = new CitysModel();
|
|
|
$EmployeeModel = new EmployeeModel();
|
|
|
$ViolationCompanyModel = new ViolationCompanyModel();
|
|
|
- $ScrapeDataModel = new ScrapeDataModel();
|
|
|
+ $ProcessViolationStoreModel = new ProcessViolationStoreModel();
|
|
|
$ViolationCompanyMemberModel = new ViolationCompanyMemberModel();
|
|
|
$EmployeePlatformModel = new EmployeePlatformModel();
|
|
|
$EmployeeAreaModel = new EmployeeAreaModel();
|
|
|
@@ -440,7 +441,7 @@ class ViolationCompanyDataJobs implements ShouldQueue
|
|
|
}
|
|
|
|
|
|
//插入数据
|
|
|
- $ViolationStoreModel->addViolationStore($insert_product_data);
|
|
|
+ $ProcessViolationStoreModel->addViolationStore($insert_product_data);
|
|
|
if ($index_number == $data_totle) {
|
|
|
(new ExecuteLogModel())->where('id', $executeLog_id)->update(['status' => 0, 'update_time' => time()]);
|
|
|
}
|