From 28a56119d4c4cb3f5243900f600bee2f192c3b53 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 21 Jun 2024 18:11:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E6=94=AF?= =?UTF-8?q?=E5=87=BA=E9=87=91=E9=A2=9D=E8=AE=A1=E7=AE=97=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../logic/statistic/TradeStatisticLogic.php | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/app/admin/logic/statistic/TradeStatisticLogic.php b/app/admin/logic/statistic/TradeStatisticLogic.php index e8a02b333..102121630 100644 --- a/app/admin/logic/statistic/TradeStatisticLogic.php +++ b/app/admin/logic/statistic/TradeStatisticLogic.php @@ -370,20 +370,20 @@ class TradeStatisticLogic extends BaseLogic // $outTotalMoney = bcadd($outYeMoney, $outExtractMoney, 2); // $lastOutTotalMoney = bcadd($lastOutYeMoney, $lastOutExtractMoney, 2); // $outTotalCurve = $this->totalArrData([$outYeCurve, $OutExtractCurve]); - $outTotalMoney = bcadd($outYeMoney, 0, 2); - $lastOutTotalMoney = bcadd($lastOutYeMoney, 0, 2); - $outTotalCurve = $this->totalArrData([$outYeCurve, 0]); - $outTotalChain = countRate($outTotalMoney, $lastOutTotalMoney); - $topData[11] = [ - 'title' => '支出金额', - 'desc' => '余额支付金额、支付佣金金额', - 'total_money' => $outTotalMoney, - 'rate' => $outTotalChain, - 'value' => $outTotalCurve['y'], - 'type' => 1, - 'sign' => 'out', - ]; - $Chain['out'] = $outTotalCurve; + // $outTotalMoney = bcadd($outYeMoney, 0, 2); + // $lastOutTotalMoney = bcadd($lastOutYeMoney, 0, 2); + // $outTotalCurve = $this->totalArrData([$outYeCurve, 0]); + // $outTotalChain = countRate($outTotalMoney, $lastOutTotalMoney); + // $topData[11] = [ + // 'title' => '支出金额', + // 'desc' => '余额支付金额、支付佣金金额', + // 'total_money' => $outTotalMoney, + // 'rate' => $outTotalChain, + // 'value' => $outTotalCurve['y'], + // 'type' => 1, + // 'sign' => 'out', + // ]; + // $Chain['out'] = $outTotalCurve; //商品退款金额 $outOrderRefund = $this->getOrderRefundTotalMoney(['create_time' => $where['create_time']], 'sum');