cqpCow před 10 měsíci
rodič
revize
52a0222f68
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/Service/RangeService.php

+ 1 - 1
app/Service/RangeService.php

@@ -522,7 +522,7 @@ class RangeService extends Service
     public function customerBasicTypeSearch($customer_type, $type){
         $result = BasicType::where('del_time',0)
             ->whereIn('type',$type)
-            ->where('title', 'LIKE', '%'.$customer_type.'%')
+            ->where('title', $customer_type)
             ->select('id')->get()->toArray();
         return array_column($result,'id');
     }