diff --git a/market/controllers/api/sylive/GroupsStatistics.php b/market/controllers/api/sylive/GroupsStatistics.php index 5b91d118..555faa60 100644 --- a/market/controllers/api/sylive/GroupsStatistics.php +++ b/market/controllers/api/sylive/GroupsStatistics.php @@ -819,7 +819,7 @@ class GroupsStatistics extends BaseController $beforeOrderTotal = $v['total']; } else { $where_sort['kpi'] = 'beforeOrder'; - $beforeOrderTotal = $this->mdSyliveActivityKpidata->count($where_order); + $beforeOrderTotal = $this->mdSyliveActivityKpidata->count($where_sort); } if ($sort == 'watch') { $watch = $v['total'];