冲值玩家promoteid

master
sunke 5 years ago
parent e622b0a81e
commit 96bf61ada0

@ -2857,7 +2857,7 @@ class DownloadController extends BaseController {
$field = $fieldUC . ',' . $fieldUI; $field = $fieldUC . ',' . $fieldUI;
$subQuery = M('user_play_data_count', 'tab_')->alias('uc') $subQuery = M('user_play_data_count', 'tab_')->alias('uc')
->field($field) ->field($field)
->join('tab_user_play_info as ui on ui.promote_id = uc.promote_id and ui.game_id = uc.game_id and ui.server_id = uc.server_id and ui.role_id = uc.role_id') ->join('tab_user_play_info as ui on ui.game_id = uc.game_id and ui.server_id = uc.server_id and ui.role_id = uc.role_id')
->where($map) ->where($map)
->group('uc.role_id,uc.server_id,uc.game_id') ->group('uc.role_id,uc.server_id,uc.game_id')
->buildSql(); ->buildSql();

Loading…
Cancel
Save