|
|
@@ -58,6 +58,7 @@ class ViolationProduct extends Controller
|
|
|
$product_specs = request('product_specs', '');
|
|
|
$online_posting_count = request('online_posting_count', '');
|
|
|
$category_name = request('category_name', '');
|
|
|
+ $id = request('id', '');
|
|
|
// 时间条件
|
|
|
if ($start_time) $map[] = ['insert_time', '>=', strtotime($start_time)];
|
|
|
if ($end_time) $map[] = ['insert_time', '<=', strtotime($end_time)];
|
|
|
@@ -66,6 +67,7 @@ class ViolationProduct extends Controller
|
|
|
if ($store_name) $map[] = ['store_name', 'like', "%$store_name%"];
|
|
|
if ($category_name) $map[] = ['category_name', 'like', "%$category_name%"];
|
|
|
if ($company_name) $map[] = ['company_name', 'like', "%$company_name%"];
|
|
|
+ if ($id) $map[] = ['id', '=', $id];
|
|
|
|
|
|
$violation_product_where = [];
|
|
|
// 权限判断
|