|
|
|
@ -2907,7 +2907,8 @@ class DownloadController extends BaseController {
|
|
|
|
|
->buildSql();
|
|
|
|
|
$map['_string'] = 'ui.role_id in (' . $subQuery . ')';
|
|
|
|
|
}
|
|
|
|
|
$map['uc.create_time'] = ['between', [$map['begintime'], $map['endtime'] - 1]];
|
|
|
|
|
$secondDay = 24*3600 + 1;
|
|
|
|
|
$map['uc.create_time'] = ['between', [$map['begintime']-24*3600, $map['endtime'] - $secondDay]];
|
|
|
|
|
unset($map['begintime']);
|
|
|
|
|
unset($map['endtime']);
|
|
|
|
|
//$spendMap['_string'] = 'uc.game_id = tab_user_play_info.game_id and uc.server_id = tab_user_play_info.server_id and uc.role_id = tab_user_play_info.role_id';
|
|
|
|
|