修改订单统计

This commit is contained in:
lcc
2024-06-20 15:52:50 +08:00
parent d7821837cd
commit 175b32da40
+1 -1
View File
@@ -37,7 +37,7 @@ class Orders extends HD_Controller
$count = $this->receiver_orders_model->count(['status' => $key]);
$status_arr[] = array("id" => $key, "name" => $value, "cate" => [], "count" => $count);
}
$params['count_all'] = $this->receiver_orders_model->count();//全部
$params['count_all'] = $this->receiver_orders_model->count(['status>=' => 0]);//全部
$params['list_type'] = 'all';
$result = $this->orderslist->lists($params['status_pid'], $params);
$this->data = $result;