|
|
@ -7208,7 +7208,7 @@ class ExportController extends Controller
|
|
|
|
$map['_string'] .= " pay_time < {$timeend}";
|
|
|
|
$map['_string'] .= " pay_time < {$timeend}";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$map['pay_status'] = 1;
|
|
|
|
$map['pay_game_status'] = 1;
|
|
|
|
if (!empty(I("game_id"))) {
|
|
|
|
if (!empty(I("game_id"))) {
|
|
|
|
$map['game_id'] = I("game_id");
|
|
|
|
$map['game_id'] = I("game_id");
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -7224,6 +7224,7 @@ class ExportController extends Controller
|
|
|
|
$order = "pay_time DESC";
|
|
|
|
$order = "pay_time DESC";
|
|
|
|
|
|
|
|
|
|
|
|
$xlsData = D('spend')->getSpendData($map,$field,$group,$order);
|
|
|
|
$xlsData = D('spend')->getSpendData($map,$field,$group,$order);
|
|
|
|
|
|
|
|
// dd(D("spend")->_sql());
|
|
|
|
foreach($xlsData as $key => $value) {
|
|
|
|
foreach($xlsData as $key => $value) {
|
|
|
|
$xlsData[$key]['pay_way'] = getPayType($value['pay_way']);
|
|
|
|
$xlsData[$key]['pay_way'] = getPayType($value['pay_way']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|