shish 3 years ago
parent
commit
5e66555555
1 changed files with 1 additions and 1 deletions
  1. 1 1
      biz-ghs/stat/classes/StatSaleClass.php

+ 1 - 1
biz-ghs/stat/classes/StatSaleClass.php

@@ -145,7 +145,7 @@ class StatSaleClass extends BaseClass
         $hdWhere['payTime'] = ['between', [$currentStartTime, $currentEndTime]];
         $hdOrderList = HdOrderClass::getAllByCondition($hdWhere, null, '*');
         foreach ($hdOrderList as $hdKey => $hdOrder) {
-            $actPrice = $hdOrder['actPrice'] ?? 0;
+            $actPrice = $hdOrder['mainPay'] ?? 0;
             $serviceFee = $hdOrder['serviceFee'] ?? 0;
             $sendCost = $hdOrder['sendCost'] ?? 0;
             $lsIncome = bcadd($actPrice, $lsIncome, 2);