|
|
|
@ -1769,6 +1769,8 @@ 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]];
|
|
|
|
|
if ($costBegin != '' || $costEnd != '') {
|
|
|
|
|
$having = '';
|
|
|
|
|