Merge remote-tracking branch 'origin/dev' into dev

master
liuweiwen 5 years ago
commit d9782182ca

@ -2491,18 +2491,18 @@ class DownloadController extends BaseController {
public function settlementExcelInfo($id,$map) { public function settlementExcelInfo($id,$map) {
$xlsName = "结算明细"; $xlsName = "结算明细";
$xlsCell = array( $xlsCell = array(
'游戏订单号', '游戏订单号',
'游戏', '游戏',
'玩家账号', '玩家账号',
'推广员账号', '推广员账号',
'订单总额', '订单总额',
'直充', '直充',
'内充', '内充',
'分成比例(直充)', '分成比例(直充)',
'分成比例(内充)', '分成比例(内充)',
'收益', '收益',
'充值时间', '充值时间',
'订单状态', '订单状态',
); );
$model = M('spend', 'tab_'); $model = M('spend', 'tab_');
$data = $model->field('pay_order_number,game_name,user_account,promote_account,pay_amount,pay_way,if(selle_ratio >= 0,selle_ratio,0) as selle_ratio,pay_time,selle_status,pay_status,withdraw_id') $data = $model->field('pay_order_number,game_name,user_account,promote_account,pay_amount,pay_way,if(selle_ratio >= 0,selle_ratio,0) as selle_ratio,pay_time,selle_status,pay_status,withdraw_id')
@ -2593,7 +2593,7 @@ class DownloadController extends BaseController {
$csvData["pay_amount_zhi"] = $list["pay_amount_zhi"]; $csvData["pay_amount_zhi"] = $list["pay_amount_zhi"];
$csvData["pay_amount_nei"] = $list["pay_amount_nei"]; $csvData["pay_amount_nei"] = $list["pay_amount_nei"];
$csvData["selle_ratio"] = $list["selle_ratio"]; $csvData["selle_ratio"] = $list["selle_ratio"];
$csvData["selle_ratio"] = $list["selle_ratio"]; $csvData["selle_ratio1"] = $list["selle_ratio"];
$csvData["income"] = $list["income"]; $csvData["income"] = $list["income"];
$csvData["pay_time"] = $list["pay_time"]; $csvData["pay_time"] = $list["pay_time"];
$csvData["selle_status"] = $list["selle_status"]; $csvData["selle_status"] = $list["selle_status"];
@ -2613,7 +2613,7 @@ class DownloadController extends BaseController {
$allData['pay_amount_zhi'] = $total['direct_pay_amount']; $allData['pay_amount_zhi'] = $total['direct_pay_amount'];
$allData['pay_amount_nei'] = $total['inner_pay_amount']; $allData['pay_amount_nei'] = $total['inner_pay_amount'];
$allData['selle_ratio'] = '--'; $allData['selle_ratio'] = '--';
$allData['selle_ratio'] = '--'; $allData['selle_ratio1'] = '--';
$allData['income'] = $total['income']; $allData['income'] = $total['income'];
$allData['pay_time'] = '--'; $allData['pay_time'] = '--';
$allData['selle_status'] = '--'; $allData['selle_status'] = '--';

Loading…
Cancel
Save