41 镇农科公司

This commit is contained in:
chenbo 2023-09-25 18:57:52 +08:00
parent adb53a2840
commit 7369b477d7

View File

@ -352,7 +352,7 @@ class CompanyController extends BaseApiController
*/
public function street_company(){
$street=$this->request->param('street_code');
$company=Db::query("select * from la_company where company_type=:company_type and FIND_IN_SET(:street,responsible_area)", ['company_type' => 16,'street'=>$street], true);
$company=Db::query("select * from la_company where company_type=:company_type and FIND_IN_SET(:street,responsible_area)", ['company_type' => 41,'street'=>$street], true);
if($company){
return $this->success('ok',['title'=>$company[0]['company_name'],'organization_code'=>$company[0]['organization_code']]);
}else{