|
|
@@ -42,7 +42,7 @@ class ViolationProduct extends Controller
|
|
|
if (is_numeric($status)) $map[] = ['status', '=', $status];
|
|
|
if ($product_name) $map[] = ['product_name', 'like', "%$product_name%"];
|
|
|
if ($platform) $map[] = ['platform', 'like', "%$platform%"];
|
|
|
- if ($store_scope == 1) $map[] = ['store_scope', '==', ''];
|
|
|
+ if ($store_scope == 1) $map[] = ['store_scope', '=', ''];
|
|
|
if ($store_scope == 2) $map[] = ['store_scope', '!=', ''];
|
|
|
// 查询数据
|
|
|
$result = $ViolationProductModel->query()
|