Browse Source

[智价云] 店铺范围搜索更新2

tangyuanwang 1 week ago
parent
commit
177774c927

+ 1 - 1
app/Http/Controllers/Manager/WashConfig/ControlGoods.php

@@ -41,7 +41,7 @@ class ControlGoods extends Controller
         if ($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 = $ControlGoodsModel->query()

+ 1 - 1
app/Http/Controllers/Manager/WashConfig/LowPriceGoods.php

@@ -42,7 +42,7 @@ class LowPriceGoods 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 = $LowPriceGoodsModel->query()

+ 1 - 1
app/Http/Controllers/Manager/WashConfig/ViolationProduct.php

@@ -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()