|
|
@ -8059,6 +8059,7 @@ class ExportController extends Controller
|
|
|
|
array('balance_coin_count','平台币直充支出'),
|
|
|
|
array('balance_coin_count','平台币直充支出'),
|
|
|
|
array('inside_cash_count','内充支出'),
|
|
|
|
array('inside_cash_count','内充支出'),
|
|
|
|
array('all_cash_count','游戏内充值合计'),
|
|
|
|
array('all_cash_count','游戏内充值合计'),
|
|
|
|
|
|
|
|
array('notice_fail_count','通知失败合计'),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
$map = [];
|
|
|
|
$map = [];
|
|
|
@ -8104,13 +8105,15 @@ class ExportController extends Controller
|
|
|
|
$sumCash = $totalData['cash_count'];
|
|
|
|
$sumCash = $totalData['cash_count'];
|
|
|
|
$sumBalance = $totalData['balance_coin_count'];
|
|
|
|
$sumBalance = $totalData['balance_coin_count'];
|
|
|
|
$sumInside = $totalData['inside_cash_count'];
|
|
|
|
$sumInside = $totalData['inside_cash_count'];
|
|
|
|
|
|
|
|
$sumNoticeFail = $totalData['notice_fail_count']? $totalData['notice_fail_count']:0;
|
|
|
|
$sumAll = $sumCash + $sumBalance + $sumInside;
|
|
|
|
$sumAll = $sumCash + $sumBalance + $sumInside;
|
|
|
|
|
|
|
|
|
|
|
|
$sumData = [['game_name'=>'总计',
|
|
|
|
$sumData = [['game_name'=>'总计',
|
|
|
|
'cash_count'=>$sumCash,
|
|
|
|
'cash_count'=>$sumCash,
|
|
|
|
'balance_coin_count'=>$sumBalance,
|
|
|
|
'balance_coin_count'=>$sumBalance,
|
|
|
|
'inside_cash_count'=>$sumInside,
|
|
|
|
'inside_cash_count'=>$sumInside,
|
|
|
|
'all_cash_count'=>$sumAll]];
|
|
|
|
'all_cash_count'=>$sumAll,
|
|
|
|
|
|
|
|
'notice_fail_count'=>$sumNoticeFail]];
|
|
|
|
$xlsData = array_merge($xlsData,$sumData);
|
|
|
|
$xlsData = array_merge($xlsData,$sumData);
|
|
|
|
$this->exportAddOperationLog("Finance/gameStatistics","充值-财务管理-游戏统计-导出");
|
|
|
|
$this->exportAddOperationLog("Finance/gameStatistics","充值-财务管理-游戏统计-导出");
|
|
|
|
$this->exportExcel($xlsName, $xlsCell, $xlsData);
|
|
|
|
$this->exportExcel($xlsName, $xlsCell, $xlsData);
|
|
|
|