推广平台->数据汇总--bug更新

master
chenxiaojun 5 years ago
parent e24550b993
commit 638a206ad6

@ -1769,9 +1769,10 @@ class QueryController extends BaseController
$map['promote_id'] = $queryPromote['id'];
}
$roleIds = M('user_play_data_count', 'tab_')->group('role_id')->getField('role_id', true);
$map['role_id'] = ['in', $roleIds];
$subMap['create_time'] = ['between', [$begTime, $endTime - 1]];
$roleIdMap = $subMap;
$roleIds = M('user_play_data_count', 'tab_')->where($roleIdMap)->group('role_id')->getField('role_id', true);
$map['role_id'] = ['in', $roleIds];
if ($costBegin != '' || $costEnd != '') {
$having = '';
if ($costBegin != '' && $costEnd != '') {

Loading…
Cancel
Save