数据汇总

master
chenxiaojun 5 years ago
parent e53268815c
commit c678968253

@ -1267,7 +1267,7 @@ class QueryController extends BaseController
// die; // die;
$field = 'tab_apply.game_id,tab_game.game_name,tab_game.sdk_version'; $field = 'tab_apply.game_id,tab_game.game_name,tab_game.sdk_version';
$field .= $serverField . $roleNumSql . $userNumSql . $newUserNumSql . $newDeviceSql . $newIpSql . $loginUserNumSql . $spendUserNumSql . $spendNumSql . $spendAllAmountSql . $spendCashSql . $spendGenericSql . $spendBindingSql; $field .= $serverField . $roleNumSql . $userNumSql . $loginUserNumSql . $spendUserNumSql . $spendNumSql . $spendAllAmountSql . $spendCashSql . $spendGenericSql . $spendBindingSql;
$data = M('Apply', 'tab_') $data = M('Apply', 'tab_')
->field($field) ->field($field)
->join('tab_game on tab_apply.game_id = tab_game.id') ->join('tab_game on tab_apply.game_id = tab_game.id')

Loading…
Cancel
Save