Parcourir la source

[智价云] 价格查询更新

tangyuanwang il y a 2 jours
Parent
commit
5420aef41c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      app/Http/Controllers/Manager/WashConfig/LowPriceGoods.php

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

@@ -64,8 +64,8 @@ class LowPriceGoods extends Controller
         if ($category_id) $map[] = ['category_id', '=', $category_id];
         if ($product_brand) $map[] = ['product_brand', 'like', "%$product_brand%"];
         if ($product_specs) $map[] = ['product_specs', 'like', "%$product_specs%"];
-        if ($suggested_min_price) $map[] = ['suggested_min_price', '>=', $suggested_min_price];
-        if ($suggested_max_price) $map[] = ['suggested_max_price', '<=', $suggested_max_price];
+        if ($suggested_min_price) $map[] = ['suggested_price', '>=', $suggested_min_price];
+        if ($suggested_max_price) $map[] = ['suggested_price', '<=', $suggested_max_price];
         // 查询数据
         if ($is_admin != 1 && $company_id != 0) {
             $map[] = ['company_id', '=', $company_id];