From f58e565fe7f6e7f0a3dbfa50db39ce8eeb150d53 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 4 Dec 2020 14:47:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/DownloadController.class.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index ca7a34a4e..360f4df89 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -3847,7 +3847,11 @@ public function iosDetailExcelInfo($id,$map) { '收益', '充值时间', '订单状态', - ); + ); + + $spendRepository = new SpendRepository(); + $map = $spendRepository->withIsCheck($map); + $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') ->where($map) @@ -4001,6 +4005,10 @@ public function iosDetailExcelInfo($id,$map) { $endTime = strtotime($initEndTime); $endTime = $endTime + 3600 * 24; } + + $spendRepository = new SpendRepository(); + $map = $spendRepository->withIsCheck($map); + $model = M('spend', 'tab_'); $dayList = $this->getDayList($begTime, $endTime); $data = $model->field('FROM_UNIXTIME(pay_time, "%Y-%m-%d") as day,