推广员后台->每日概况->游戏检索bug

master
chenxiaojun 5 years ago
commit 641dcd5b65

@ -1155,7 +1155,9 @@ class QueryController extends BaseController
$newUserNumData = $userPlayInfoModel $newUserNumData = $userPlayInfoModel
->field('tab_user_play_info.create_time,count(distinct tab_user_play_info.user_id) as num') ->field('tab_user_play_info.create_time,count(distinct tab_user_play_info.user_id) as num')
->join($join)
->where($userPlayInfoWhere2) ->where($userPlayInfoWhere2)
->where($map)
->having('tab_user_play_info.create_time between ' . $begTime . ' and ' . ($endTime + 86399)) ->having('tab_user_play_info.create_time between ' . $begTime . ' and ' . ($endTime + 86399))
->order('tab_user_play_info.id') ->order('tab_user_play_info.id')
->find(); ->find();
@ -1163,7 +1165,9 @@ class QueryController extends BaseController
$newDeviceData = $userPlayInfoModel $newDeviceData = $userPlayInfoModel
->field('tab_user_play_info.create_time,count(distinct tab_user_play_info.create_device_number) as num') ->field('tab_user_play_info.create_time,count(distinct tab_user_play_info.create_device_number) as num')
->join($join)
->where($userPlayInfoWhere2) ->where($userPlayInfoWhere2)
->where($map)
->having('tab_user_play_info.create_time between ' . $begTime . ' and ' . ($endTime + 86399)) ->having('tab_user_play_info.create_time between ' . $begTime . ' and ' . ($endTime + 86399))
->order('tab_user_play_info.id') ->order('tab_user_play_info.id')
->find(); ->find();
@ -1171,7 +1175,9 @@ class QueryController extends BaseController
$newIpNumData = $userPlayInfoModel $newIpNumData = $userPlayInfoModel
->field('tab_user_play_info.create_time,count(distinct tab_user_play_info.create_ip) as num') ->field('tab_user_play_info.create_time,count(distinct tab_user_play_info.create_ip) as num')
->join($join)
->where($userPlayInfoWhere2) ->where($userPlayInfoWhere2)
->where($map)
->having('tab_user_play_info.create_time between ' . $begTime . ' and ' . ($endTime + 86399)) ->having('tab_user_play_info.create_time between ' . $begTime . ' and ' . ($endTime + 86399))
->order('tab_user_play_info.id') ->order('tab_user_play_info.id')
->find(); ->find();

Loading…
Cancel
Save