0209
This commit is contained in:
@@ -152,8 +152,12 @@ class GroupsStatistics extends BaseController
|
||||
if ($sort == 'order' && !$day) {
|
||||
$sort_order = 'orderTotal ' . $order;
|
||||
} else {
|
||||
if($sort == 'beforeOrder'){
|
||||
$sort_order = 'beforeOrderTotal ' . $order;
|
||||
}
|
||||
$sort_order = $sort . ' ' . $order;
|
||||
}
|
||||
|
||||
if ($day) {//按天搜索
|
||||
$createTimeStart = strtotime($day . ' 00:00:00');
|
||||
$createTimeEnd = strtotime($day . ' 23:59:59');
|
||||
@@ -232,7 +236,7 @@ class GroupsStatistics extends BaseController
|
||||
$where = ['activityId' => $activityId, 'itemId' => $itemId, "$levelId>" => 0, 'itemId>' => 0];
|
||||
$count = $this->mdSyliveActivityKpidata->count($where, 'bizId');
|
||||
} else {
|
||||
$where = ['activityId' => $activityId, 'status>=' => 0, 'groupsLevel' => $groupsLevel];
|
||||
$where = ['activityId' => $activityId, 'status' => 0, 'groupsLevel' => $groupsLevel];
|
||||
$count = $this->mdSyliveGroups->count($where);
|
||||
}
|
||||
if ($count) {
|
||||
|
||||
Reference in New Issue
Block a user