yingzi 2 лет назад
Родитель
Сommit
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());
         }