cqpCow 10 月之前
父节点
当前提交
52a0222f68
共有 1 个文件被更改,包括 1 次插入1 次删除
  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');
     }