shish 4 years ago
parent
commit
825d1c3fe5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      biz/stat/classes/StatKhCgClass.php
  2. 1 1
      biz/stat/classes/StatKhCgMonthClass.php

+ 1 - 1
biz/stat/classes/StatKhCgClass.php

@@ -55,7 +55,7 @@ class StatKhCgClass extends BaseClass
 
 
         $currentRefundNum = bcadd($unique->refundNum, $num, 2);
         $currentRefundNum = bcadd($unique->refundNum, $num, 2);
 
 
-        $currentRefundAmount = bcadd($unique->refundPrice, $refundPrice, 2);
+        $currentRefundAmount = bcadd($unique->refundAmount, $refundPrice, 2);
 
 
         $unique->refundNum = $currentRefundNum;
         $unique->refundNum = $currentRefundNum;
         $unique->refundAmount = $currentRefundAmount;
         $unique->refundAmount = $currentRefundAmount;

+ 1 - 1
biz/stat/classes/StatKhCgMonthClass.php

@@ -73,7 +73,7 @@ class StatKhCgMonthClass extends BaseClass
         $currentRefundNum = bcadd($unique->refundNum, $num, 2);
         $currentRefundNum = bcadd($unique->refundNum, $num, 2);
 
 
         $refundPrice = $order->refundPrice ?? 0;
         $refundPrice = $order->refundPrice ?? 0;
-        $currentRefundAmount = bcadd($unique->refundPrice, $refundPrice, 2);
+        $currentRefundAmount = bcadd($unique->refundAmount, $refundPrice, 2);
 
 
         $unique->refundNum = $currentRefundNum;
         $unique->refundNum = $currentRefundNum;
         $unique->refundAmount = $currentRefundAmount;
         $unique->refundAmount = $currentRefundAmount;