|
@@ -59,6 +59,8 @@ class ViolationProduct extends Controller
|
|
|
$online_posting_count = request('online_posting_count', '');
|
|
$online_posting_count = request('online_posting_count', '');
|
|
|
$category_name = request('category_name', '');
|
|
$category_name = request('category_name', '');
|
|
|
$id = request('id', '');
|
|
$id = request('id', '');
|
|
|
|
|
+ $online_posting_cunt = request('online_posting_cunt','');
|
|
|
|
|
+ $continuous_listing_count = request('continuous_listing_count', '');
|
|
|
// 时间条件
|
|
// 时间条件
|
|
|
if ($start_time) $map[] = ['insert_time', '>=', strtotime($start_time)];
|
|
if ($start_time) $map[] = ['insert_time', '>=', strtotime($start_time)];
|
|
|
if ($end_time) $map[] = ['insert_time', '<=', strtotime($end_time)];
|
|
if ($end_time) $map[] = ['insert_time', '<=', strtotime($end_time)];
|
|
@@ -68,6 +70,8 @@ class ViolationProduct extends Controller
|
|
|
if ($category_name) $map[] = ['category_name', 'like', "%$category_name%"];
|
|
if ($category_name) $map[] = ['category_name', 'like', "%$category_name%"];
|
|
|
if ($company_name) $map[] = ['company_name', 'like', "%$company_name%"];
|
|
if ($company_name) $map[] = ['company_name', 'like', "%$company_name%"];
|
|
|
if ($id) $map[] = ['id', '=', $id];
|
|
if ($id) $map[] = ['id', '=', $id];
|
|
|
|
|
+ if ($online_posting_cunt) $map[] = ['online_posting_count', '=', $online_posting_cunt];
|
|
|
|
|
+ if ($continuous_listing_count) $map[] = ['continuous_listing_count', '=', $continuous_listing_count];
|
|
|
|
|
|
|
|
$violation_product_where = [];
|
|
$violation_product_where = [];
|
|
|
// 权限判断
|
|
// 权限判断
|