edit-api-get_mchid

This commit is contained in:
lccsw
2022-05-25 16:15:28 +08:00
parent 5d5e85a2da
commit 3672fb2b6a
@@ -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);