From 09cb72fb356f61875bd5c74283a6d0d13335bba0 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Sat, 10 Feb 2024 02:30:14 +0800 Subject: [PATCH] 0210 --- market/controllers/api/sylive/GroupsStatistics.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/market/controllers/api/sylive/GroupsStatistics.php b/market/controllers/api/sylive/GroupsStatistics.php index 5e671276..af4e36ff 100644 --- a/market/controllers/api/sylive/GroupsStatistics.php +++ b/market/controllers/api/sylive/GroupsStatistics.php @@ -193,6 +193,7 @@ class GroupsStatistics extends BaseController if ($sort == 'beforeOrder') { $beforeOrderTotal = $v['total']; } else { + $where_sort['kpi'] = 'beforeOrder'; $beforeOrderTotal = $this->mdSyliveActivityKpidata->count($where_sort); } if ($sort == 'watch') { @@ -205,6 +206,7 @@ class GroupsStatistics extends BaseController $orderTotal = $v['total']; } else { $where_sort[$levelId] = $groupsId; + $where_sort['kpi'] = 'order'; if ($itemId) { $where_sort['itemId'] = $itemId; }