yingzi преди 2 години
родител
ревизия
a9b14a8ce8
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      Model/Finance/MReceived.Class.php

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

@@ -592,17 +592,14 @@ 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());
         }
-        var_dump($result->getData());
 
         // 编辑客户往来余额
         $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());
         }