This commit is contained in:
xiaoyu
2024-02-10 02:30:14 +08:00
parent 28158f218c
commit 09cb72fb35
@@ -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;
}