From 444c4e61f239dec4657a3038555fd7bf54e46ba0 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Wed, 25 Dec 2019 17:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E6=B8=A0=E9=81=93=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1bug=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/PayChannelController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/PayChannelController.class.php b/Application/Admin/Controller/PayChannelController.class.php index c054362a0..1675b0c4f 100644 --- a/Application/Admin/Controller/PayChannelController.class.php +++ b/Application/Admin/Controller/PayChannelController.class.php @@ -969,7 +969,7 @@ class PayChannelController extends ThinkController ->order('tab_game_supersign.id DESC') ->count(); - $field = "pay_price as cost,sum(pay_price) as pay_amount,pay_way"; + $field = "sum(pay_price) as cost,sum(pay_price) as pay_amount,pay_way"; } elseif($model == 'deposit') { $map['pay_source'] = 0; if ($map['pay_time']) { @@ -1010,7 +1010,7 @@ class PayChannelController extends ThinkController ->order('tab_deposit.id DESC') ->count(); - $field = "pay_amount as cost,sum(pay_amount) as pay_amount,pay_way"; + $field = "sum(pay_amount) as cost,sum(pay_amount) as pay_amount,pay_way"; } $sumAllData = M($model,'tab_')