|
|
@@ -53,10 +53,10 @@ class ViolationStoreJobs implements ShouldQueue
|
|
|
$insert_data =['company_id'=>$company_id,'name' =>'违规挂网店铺', 'code' => 'ViolationStoreJobs', 'admin_id' => $admin_id,'is_admin' => $is_admin];
|
|
|
$executeLog_id=$ExecuteLogModel->addExecuteLog_content($insert_data);
|
|
|
}
|
|
|
- $ViolationStoreModel = $ViolationStoreModel->leftjoin('washconfig_company_category', 'washconfig_company_category.id', '=', 'washconfig_violation_store.category_id')
|
|
|
- ->where('washconfig_violation_store.status', 0)->where('store_type', 1)->select(['washconfig_violation_store.*','washconfig_company_category.name as category_name']);
|
|
|
+ $ViolationStoreModel = $ViolationStoreModel->leftjoin('washconfig_company_category', 'washconfig_company_category.id', '=', 'washconfig_violation_company.category_id')
|
|
|
+ ->where('washconfig_violation_company.status', 0)->where('company_type', 1)->select(['washconfig_violation_company.*','washconfig_company_category.name as category_name']);
|
|
|
if($company_id){
|
|
|
- $ViolationStoreModel = $ViolationStoreModel->where('washconfig_violation_store.company_id', $company_id);
|
|
|
+ $ViolationStoreModel = $ViolationStoreModel->where('washconfig_violation_company.company_id', $company_id);
|
|
|
}
|
|
|
$totle_page = 0;
|
|
|
$list_config_data = $ViolationStoreModel->paginate($limit, ['*'], 'page', $page)->toarray();
|
|
|
@@ -74,7 +74,7 @@ class ViolationStoreJobs implements ShouldQueue
|
|
|
'id' => $value['id'],
|
|
|
'platform' => $value['platform'],
|
|
|
'store_name'=> $value['store_name'],
|
|
|
- 'store_type' => $value['store_type'],
|
|
|
+ 'company_type' => $value['company_type'],
|
|
|
'company_name' => $value['company_name'],
|
|
|
'social_credit_code' => $value['social_credit_code'],
|
|
|
'executeLog_id' => $executeLog_id,
|