edit-common-company
This commit is contained in:
@@ -128,6 +128,12 @@ class Orders_v2_entity{
|
||||
if(!$srv_company){ //获取城市服务公司
|
||||
$srv_company = $this->ci->sys_company_model->get(['city_id'=>$biz['city_id'],'type'=>0],$filed);
|
||||
}
|
||||
if(!$company){ //获取固定id销售公司
|
||||
$company = $this->ci->sys_company_model->get(['id'=>1],$filed);
|
||||
}
|
||||
if(!$srv_company){ //获取固定id服务公司
|
||||
$srv_company = $this->ci->sys_company_model->get(['id'=>4],$filed);
|
||||
}
|
||||
$data = [
|
||||
'company' => $company,
|
||||
'srv_company' => $srv_company
|
||||
|
||||
Reference in New Issue
Block a user