yingzi 2 år sedan
förälder
incheckning
9f5b6c6597
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      Model/Finance/MReceived.Class.php

+ 2 - 0
Model/Finance/MReceived.Class.php

@@ -598,6 +598,8 @@ class MReceived extends MBaseModel
 
         // 编辑客户往来余额
         $changedMoney = $receivedData['totalMoney'] > 0 ? -1 * $receivedData['totalFinalMoney'] : abs($receivedData['totalFinalMoney']);
+        var_dump($changedMoney);
+        var_dump($receivedData['customerId']);
         $result = $this->objMCustomerBalance->addCustomerBalance($receivedData['customerId'], $changedMoney);
         if (!$result->isSuccess()) {
             $this->objDReceived->rollBack();