shish 5 years ago
parent
commit
42dbea9795
1 changed files with 1 additions and 1 deletions
  1. 1 1
      biz-ghs/order/classes/CheckOrderClass.php

+ 1 - 1
biz-ghs/order/classes/CheckOrderClass.php

@@ -122,7 +122,7 @@ class CheckOrderClass extends BaseClass
             $currentTotalIncome = bcadd($shop->totalIncome, $addAmount, 2);
             $currentTotalExpend = bcadd($shop->totalExpend, abs($subAmount), 2);
             $shop->totalIncome = $currentTotalIncome;
-            $shop->totalPdSub = $currentTotalExpend;
+            $shop->totalExpend = $currentTotalExpend;
             $shop->save();
 
             //统计每天和每月的盘盈盘亏数额