From 8eed8ad43ea97059e5fbee70488b53fa2e05d09d Mon Sep 17 00:00:00 2001 From: chenbo <709206448@qq.com> Date: Fri, 23 Feb 2024 18:07:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E5=8C=BA=E5=8E=BF=E5=85=AC=E5=8F=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/CompanyController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/CompanyController.php b/app/api/controller/CompanyController.php index 566d3317f..1e4167ac2 100644 --- a/app/api/controller/CompanyController.php +++ b/app/api/controller/CompanyController.php @@ -366,7 +366,7 @@ class CompanyController extends BaseApiController } } if(!empty($area)) { - $company=Db::query("select * from la_company where company_type=:company_type and FIND_IN_SET(:street,responsible_area)", ['company_type' => 15,'area'=>$area], true); + $company=Db::query("select * from la_company where company_type=:company_type and FIND_IN_SET(:area,responsible_area)", ['company_type' => 15,'area'=>$area], true); if($company){ return $this->success('ok',['title'=>$company[0]['company_name'],'organization_code'=>$company[0]['organization_code']]); }else{