|
|
@@ -136,6 +136,8 @@ class ViolationProduct extends Controller
|
|
|
$all_data['company_scope'] = $company_scope;
|
|
|
$category_id = request('category_id', '');
|
|
|
$all_data['category_id'] = $category_id;
|
|
|
+ $specify_responsible_person = request('specify_responsible_person', '0');
|
|
|
+ $all_data['specify_responsible_person'] = $specify_responsible_person;
|
|
|
//查询是否存在
|
|
|
$map = ['product_name' => $all_data['product_name'], 'product_specs' => $all_data['product_specs'],'platform'=> $all_data['platform']];
|
|
|
$data = $ViolationProductModel->where($map)->first();
|
|
|
@@ -168,6 +170,8 @@ class ViolationProduct extends Controller
|
|
|
$all_data['company_scope'] = $company_scope;
|
|
|
$category_id = request('category_id', '');
|
|
|
$all_data['category_id'] = $category_id;
|
|
|
+ $specify_responsible_person = request('specify_responsible_person', '0');
|
|
|
+ $all_data['specify_responsible_person'] = $specify_responsible_person;
|
|
|
//查询是否存在
|
|
|
$map = ['product_name' => $all_data['product_name'], 'product_specs' => $all_data['product_specs'],'platform'=> $all_data['platform']];
|
|
|
$data = $ViolationProductModel->where($map)->where('id', '!=', $id)->first();
|