推广平台>数据管理>充值玩家--更新

master
chenxiaojun 5 years ago
parent d341789460
commit 8fa2a6cef3

@ -1859,7 +1859,7 @@ class QueryController extends BaseController
->field($field)
->join('left join tab_user_play_info as ui on ui.user_id = uc.user_id and ui.game_id = uc.game_id and ui.role_id = uc.role_id')
->where($map)
->group('uc.role_id,uc.game_id,uc.user_id,uc.id')
->group('uc.role_id,uc.game_id,uc.user_id')
->buildSql();
$query = M()->alias('record')
->table($subQuery)
@ -1870,7 +1870,7 @@ class QueryController extends BaseController
$totalQuery = M('user_play_data_count', 'tab_')->alias('uc')
->field($fieldUC)
->join('left join tab_user_play_info as ui on ui.user_id = uc.user_id and ui.game_id = uc.game_id and uc.server_id = ui.server_id and ui.role_id = uc.role_id')
->group('uc.role_id,uc.game_id,uc.server_id,uc.user_id,uc.id')
->group('uc.role_id,uc.game_id,uc.server_id,uc.user_id')
->where($map)
->buildSql();
$total = M()->alias('totals')

Loading…
Cancel
Save