diff --git a/app/common/service/FinReceiptService.php b/app/common/service/FinReceiptService.php index 7154bfa..bc9ff6a 100644 --- a/app/common/service/FinReceiptService.php +++ b/app/common/service/FinReceiptService.php @@ -268,7 +268,8 @@ class FinReceiptService if(!empty($finReceipt->received_at)){ throw new BusinessException('该记录已将确认入账'); } + $res = $this->logic->credit($id); $this->afterServiceUpdate(['id'=>$id]); - return $this->logic->credit($id); + return $res; } } \ No newline at end of file