orderv2 fixbug count: brand status about

This commit is contained in:
qianhy
2023-02-02 15:10:15 +08:00
parent 3c454b0818
commit fabe410daa
@@ -67,6 +67,7 @@ class Orders extends HD_Controller
$where["{$t1}.brand_id<>3"] = null;//狸车品牌不显示
$where["{$t1}.biz_id<>1"] = null;//biz_id=1不显示
}
$where["{$t1}.brand_id in (select id from lc_auto_brand where status > -1)"] = null;
if ($value['list']) {
foreach ($value['list'] as $key2 => $value2) {
if($key!=3 && $key2!=1){
@@ -119,6 +120,7 @@ class Orders extends HD_Controller
$where["{$t1}.brand_id<>"] = 3;//狸车品牌不显示
$where["{$t1}.biz_id<>"] = 1;//biz_id=1不显示
}
$where["{$t1}.brand_id in (select id from lc_auto_brand where status > -1)"] = null;
$params['status_pid'] == 5 && $params['status'] = 1;
$params['count_all'] = $this->receiver_orders_v2_model->count($where);//全部
$params['list_type'] = 'all';