market_statistics_1118_2
This commit is contained in:
@@ -1230,7 +1230,7 @@ class Statistics extends BaseController
|
||||
$funnel_preheating = ['title' => '浏览转化漏斗((预热阶段)', 'expectedData' => $left_expected_data, 'actualData' => $left_actual_data];
|
||||
}
|
||||
if ($show == 'right' || !$show) {
|
||||
$right_browse_where = "userId in(select userId from lc_market_sylive_activity_kpidata where activityId = {$activityId} AND type = 0 AND kpi = 'browse' AND createTime >= {$timeStart})";
|
||||
$right_browse_where = "userId in(select userId from lc_market_sylive_activity_kpidata where activityId = {$activityId} AND type = {$type} AND kpi = 'browse' AND createTime >= {$timeStart})";
|
||||
$right_browse = $this->mdSyliveActivityKpidata->count(['activityId' => $activityId, 'type' => $type, 'kpi' => 'browse', 'createTime>=' => $timeStart]);
|
||||
$right_watch = $this->mdSyliveActivityKpidata->count(['activityId' => $activityId, 'type' => $type, 'kpi' => 'watch', $right_browse_where => null]);
|
||||
if ($itemId) {
|
||||
|
||||
Reference in New Issue
Block a user