入股审核类型列表接口
This commit is contained in:
parent
8860d5eefe
commit
50ee9c7282
@ -394,7 +394,7 @@ class CompanyController extends BaseAdminController
|
||||
} else {
|
||||
// 根据street码查询所属镇农科公司
|
||||
$company_select=Db::query("select * from la_company where company_type=:company_type and FIND_IN_SET(:street,responsible_area)", ['company_type' => 41,'street'=>$params['street']], true);
|
||||
if(empty($company)) {
|
||||
if(empty($company_select)) {
|
||||
throw new Exception('当前区域无镇农科公司');
|
||||
}
|
||||
$company=$company_select[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user