|
|
@@ -239,7 +239,7 @@ class ViolationCompanyDataJobs implements ShouldQueue
|
|
|
if ($specify_responsible_person == 0) {
|
|
|
//获取店铺责任人信息
|
|
|
$ViolationStoreModel = new ViolationStoreModel();
|
|
|
- $store_data_info = $ViolationStoreModel->where('store_name', $product_data['store_name'])->first();
|
|
|
+ $store_data_info = $ViolationStoreModel->where('company_id', $company_id)->where('store_name', $product_data['store_name'])->first();
|
|
|
if (!empty($store_data_info) && trim($store_data_info->employee_ids) != '') {
|
|
|
//查询店铺第一责任人信息
|
|
|
$EmployeeModel = new EmployeeModel();
|