|
@@ -447,7 +447,7 @@ class OverviewPanel extends Controller
|
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
|
$processing_status = request('processing_status', '');
|
|
$processing_status = request('processing_status', '');
|
|
|
$product_specs = request('product_specs', '');
|
|
$product_specs = request('product_specs', '');
|
|
|
- $online_posting_cunt = request('online_posting_cunt', '');
|
|
|
|
|
|
|
+ $online_posting_count = request('online_posting_count', '');
|
|
|
$category_name = request('category_name', '');
|
|
$category_name = request('category_name', '');
|
|
|
// 其他条件
|
|
// 其他条件
|
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
@@ -479,10 +479,10 @@ class OverviewPanel extends Controller
|
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
|
}
|
|
}
|
|
|
//多选违规挂网次数查询
|
|
//多选违规挂网次数查询
|
|
|
- if ($online_posting_cunt && is_string($online_posting_cunt)) {
|
|
|
|
|
- $online_posting_cunt = explode(',', $online_posting_cunt);
|
|
|
|
|
- $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
- $violationProductModel = $violationProductModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
|
|
+ if ($online_posting_count && is_string($online_posting_count)) {
|
|
|
|
|
+ $online_posting_count = explode(',', $online_posting_count);
|
|
|
|
|
+ $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
|
|
+ $violationProductModel = $violationProductModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
}
|
|
}
|
|
|
//多选规格查询
|
|
//多选规格查询
|
|
|
if ($product_specs && is_string($product_specs)) {
|
|
if ($product_specs && is_string($product_specs)) {
|
|
@@ -609,7 +609,7 @@ class OverviewPanel extends Controller
|
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
|
$processing_status = request('processing_status', '');
|
|
$processing_status = request('processing_status', '');
|
|
|
$product_specs = request('product_specs', '');
|
|
$product_specs = request('product_specs', '');
|
|
|
- $online_posting_cunt = request('online_posting_cunt', '');
|
|
|
|
|
|
|
+ $online_posting_count = request('online_posting_count', '');
|
|
|
$category_name = request('category_name', '');
|
|
$category_name = request('category_name', '');
|
|
|
// 其他条件
|
|
// 其他条件
|
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
@@ -641,10 +641,10 @@ class OverviewPanel extends Controller
|
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
|
}
|
|
}
|
|
|
//多选违规挂网次数查询
|
|
//多选违规挂网次数查询
|
|
|
- if ($online_posting_cunt && is_string($online_posting_cunt)) {
|
|
|
|
|
- $online_posting_cunt = explode(',', $online_posting_cunt);
|
|
|
|
|
- $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
- $violationProductModel = $violationProductModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
|
|
+ if ($online_posting_count && is_string($online_posting_count)) {
|
|
|
|
|
+ $online_posting_count = explode(',', $online_posting_count);
|
|
|
|
|
+ $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
|
|
+ $violationProductModel = $violationProductModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
}
|
|
}
|
|
|
//多选规格查询
|
|
//多选规格查询
|
|
|
if ($product_specs && is_string($product_specs)) {
|
|
if ($product_specs && is_string($product_specs)) {
|
|
@@ -831,7 +831,7 @@ class OverviewPanel extends Controller
|
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
|
$processing_status = request('processing_status', '');
|
|
$processing_status = request('processing_status', '');
|
|
|
$product_specs = request('product_specs', '');
|
|
$product_specs = request('product_specs', '');
|
|
|
- $online_posting_cunt = request('online_posting_cunt', '');
|
|
|
|
|
|
|
+ $online_posting_count = request('online_posting_count', '');
|
|
|
$category_name = request('category_name', '');
|
|
$category_name = request('category_name', '');
|
|
|
// 其他条件
|
|
// 其他条件
|
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
@@ -863,10 +863,10 @@ class OverviewPanel extends Controller
|
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
|
}
|
|
}
|
|
|
//多选违规挂网次数查询
|
|
//多选违规挂网次数查询
|
|
|
- if ($online_posting_cunt && is_string($online_posting_cunt)) {
|
|
|
|
|
- $online_posting_cunt = explode(',', $online_posting_cunt);
|
|
|
|
|
- $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
- $violationProductModel = $violationProductModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
|
|
+ if ($online_posting_count && is_string($online_posting_count)) {
|
|
|
|
|
+ $online_posting_count = explode(',', $online_posting_count);
|
|
|
|
|
+ $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
|
|
+ $violationProductModel = $violationProductModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
}
|
|
}
|
|
|
//多选规格查询
|
|
//多选规格查询
|
|
|
if ($product_specs && is_string($product_specs)) {
|
|
if ($product_specs && is_string($product_specs)) {
|
|
@@ -993,7 +993,7 @@ class OverviewPanel extends Controller
|
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
$source_responsible_person = request('source_responsible_person', '');
|
|
|
$processing_status = request('processing_status', '');
|
|
$processing_status = request('processing_status', '');
|
|
|
$product_specs = request('product_specs', '');
|
|
$product_specs = request('product_specs', '');
|
|
|
- $online_posting_cunt = request('online_posting_cunt', '');
|
|
|
|
|
|
|
+ $online_posting_count = request('online_posting_count', '');
|
|
|
$category_name = request('category_name', '');
|
|
$category_name = request('category_name', '');
|
|
|
// 其他条件
|
|
// 其他条件
|
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
@@ -1025,10 +1025,10 @@ class OverviewPanel extends Controller
|
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
$violationProductModel = $violationProductModel->whereIn('store_name', $store_names);
|
|
|
}
|
|
}
|
|
|
//多选违规挂网次数查询
|
|
//多选违规挂网次数查询
|
|
|
- if ($online_posting_cunt && is_string($online_posting_cunt)) {
|
|
|
|
|
- $online_posting_cunt = explode(',', $online_posting_cunt);
|
|
|
|
|
- $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
- $violationProductModel = $violationProductModel->whereIn('online_posting_cunt', $online_posting_cunt);
|
|
|
|
|
|
|
+ if ($online_posting_count && is_string($online_posting_count)) {
|
|
|
|
|
+ $online_posting_count = explode(',', $online_posting_count);
|
|
|
|
|
+ $LowPriceGoodsModel = $LowPriceGoodsModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
|
|
+ $violationProductModel = $violationProductModel->whereIn('online_posting_count', $online_posting_count);
|
|
|
}
|
|
}
|
|
|
//多选规格查询
|
|
//多选规格查询
|
|
|
if ($product_specs && is_string($product_specs)) {
|
|
if ($product_specs && is_string($product_specs)) {
|