yingzi 2 éve
szülő
commit
37989b6229
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      Model/Finance/MReceived.Class.php

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

@@ -592,6 +592,7 @@ class MReceived extends MBaseModel
         // 添加客户往来余额明细,修改客户往来余额
         $result = $this->objMCustomerBalanceDetail->addCustomerBalanceDetail($detailData);
         if (!$result->isSuccess()) {
+            var_dump("添加客户往来[".$receivedData['customerId']."]余额明细错误:");
             $this->objDReceived->rollBack();
             return ResultWrapper::fail($result->getData(), $result->getErrorCode());
         }
@@ -600,6 +601,7 @@ class MReceived extends MBaseModel
         $changedMoney = $receivedData['totalMoney'] > 0 ? -1 * $receivedData['totalFinalMoney'] : abs($receivedData['totalFinalMoney']);
         $result = $this->objMCustomerBalance->addCustomerBalance($receivedData['customerId'], $changedMoney);
         if (!$result->isSuccess()) {
+            var_dump("编辑客户往来[".$receivedData['customerId']."]余额错误:");
             $this->objDReceived->rollBack();
             return ResultWrapper::fail($result->getData(), $result->getErrorCode());
         }