This commit is contained in:
mkm 2023-08-17 16:58:20 +08:00
parent 81a812e057
commit 325abcb995
2 changed files with 3 additions and 0 deletions

View File

@ -259,6 +259,7 @@ class CompanyController extends BaseAdminController
$where[] = ['village', '=', 0];
break;
}
$res = Company::where($where)->column('responsible_area');
foreach($res as $k=>$v){
$res[$k] = explode(',',$v);

View File

@ -61,6 +61,8 @@ class CompanyLogic extends BaseLogic
'city' => $params['city'],
'area' => $params['area'],
'street' => $params['street'],
'village' => $params['village'],
'brigade' => $params['brigade'],
'address' => $params['address'],
'company_type' => $params['company_type'],
'master_name' => $params['master_name'],