edit-api-get_mchid
This commit is contained in:
@@ -108,6 +108,7 @@ class Orders_v2_entity{
|
||||
$brand_biz = $this->ci->biz_model->get(['city_id'=>$biz['city_id'],'type'=>1,'status'=>1,'car_brand_id'=>$car_brand_id],'type,city_id,company_id,srv_company_id');
|
||||
if($brand_biz){
|
||||
$where = [
|
||||
"status" => 1,
|
||||
"id in ({$brand_biz['company_id']},{$brand_biz['srv_company_id']})" => null
|
||||
];
|
||||
$companys = $this->ci->sys_company_model->map('id','',$where,'','','',$filed);
|
||||
|
||||
Reference in New Issue
Block a user