|
|
@ -2426,7 +2426,7 @@ class ExportController extends Controller
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$orderData = M('test_order', 'tab_')->where($map)->page($page,$row)->order('add_time desc')->select();
|
|
|
|
$orderData = M('test_order', 'tab_')->where($map)->order('add_time desc')->select();
|
|
|
|
$sum_order_amount = M('test_order', 'tab_')->where($map)->field('sum(order_amount) as sum_order_amount,count(1) as count')->find();
|
|
|
|
$sum_order_amount = M('test_order', 'tab_')->where($map)->field('sum(order_amount) as sum_order_amount,count(1) as count')->find();
|
|
|
|
$sum_pay_amount = M('test_order', 'tab_')->where($map)->field('sum(pay_amount) as sum_order_amount')->find();
|
|
|
|
$sum_pay_amount = M('test_order', 'tab_')->where($map)->field('sum(pay_amount) as sum_order_amount')->find();
|
|
|
|
$xlsData = [];
|
|
|
|
$xlsData = [];
|
|
|
@ -7625,6 +7625,7 @@ class ExportController extends Controller
|
|
|
|
|
|
|
|
|
|
|
|
$xlsData = D("spend")->gameStatistics($map);
|
|
|
|
$xlsData = D("spend")->gameStatistics($map);
|
|
|
|
foreach ($xlsData as $key => $value) {
|
|
|
|
foreach ($xlsData as $key => $value) {
|
|
|
|
|
|
|
|
$xlsData[$key]['game_name'] = substr($value["game_name"],0,strrpos($value["game_name"],'('));
|
|
|
|
$xlsData[$key]['all_cash_count'] = $value['cash_count'] + $value['balance_coin_count'] + $value['inside_cash_count'];
|
|
|
|
$xlsData[$key]['all_cash_count'] = $value['cash_count'] + $value['balance_coin_count'] + $value['inside_cash_count'];
|
|
|
|
if ($value['sdk_version'] == 1) {
|
|
|
|
if ($value['sdk_version'] == 1) {
|
|
|
|
$xlsData[$key]['sdk_version'] = '安卓';
|
|
|
|
$xlsData[$key]['sdk_version'] = '安卓';
|
|
|
|