diff --git a/api/service/doctorWithdrawal.go b/api/service/doctorWithdrawal.go index 7b5d70e..9b1f046 100644 --- a/api/service/doctorWithdrawal.go +++ b/api/service/doctorWithdrawal.go @@ -277,7 +277,7 @@ func (r *DoctorWithdrawalService) PutDoctorWithdrawalExamine(req requests.PutDoc } } - tx.Commit() + // tx.Commit() return true, nil } @@ -382,7 +382,7 @@ func (r *DoctorWithdrawalService) getDoctorWithdrawalOrderAmountTotal(withdrawal var orderInquiryAmountTotal = decimal.NewFromFloat(orderInquiry.AmountTotal) - amountTotal = amountTotal.Sub(orderInquiryAmountTotal) + amountTotal = amountTotal.Add(orderInquiryAmountTotal) } // εˆ†ζˆζ―”δΎ‹