|
@@ -204,6 +204,8 @@ class ViolationProductDataJobs implements ShouldQueue
|
|
|
}
|
|
}
|
|
|
//并行查询第一责任人
|
|
//并行查询第一责任人
|
|
|
$first_responsible_person = $EmployeeModel->where($where_query1)->orWhere($where_query2)->orWhere($where_query3)->pluck('id')->implode(',');
|
|
$first_responsible_person = $EmployeeModel->where($where_query1)->orWhere($where_query2)->orWhere($where_query3)->pluck('id')->implode(',');
|
|
|
|
|
+ //调试记录查询条件
|
|
|
|
|
+ Log::info('job_info', '数据清洗-低价挂网商品队列查询条件1', ['data' => $where_query1, 'data2' => $where_query2, 'data3' => $where_query3]);
|
|
|
$insert_product_data['first_responsible_person'] = $first_responsible_person;
|
|
$insert_product_data['first_responsible_person'] = $first_responsible_person;
|
|
|
//查询责任人
|
|
//查询责任人
|
|
|
$where_query1 = [];
|
|
$where_query1 = [];
|
|
@@ -235,6 +237,8 @@ class ViolationProductDataJobs implements ShouldQueue
|
|
|
//并行查询责任人
|
|
//并行查询责任人
|
|
|
$responsible_person = $EmployeeModel->where($where_query1)->orWhere($where_query2)->orWhere($where_query3)->pluck('id')->implode(',');
|
|
$responsible_person = $EmployeeModel->where($where_query1)->orWhere($where_query2)->orWhere($where_query3)->pluck('id')->implode(',');
|
|
|
$insert_product_data['responsible_person'] = $responsible_person;
|
|
$insert_product_data['responsible_person'] = $responsible_person;
|
|
|
|
|
+ //调试记录查询条件
|
|
|
|
|
+ Log::info('job_info', '数据清洗-低价挂网商品队列查询条件2', ['data' => $where_query1, 'data2' => $where_query2, 'data3' => $where_query3]);
|
|
|
|
|
|
|
|
//溯源责任人
|
|
//溯源责任人
|
|
|
$source_responsible_person = '';
|
|
$source_responsible_person = '';
|