This commit is contained in:
wucongxing 2023-11-03 16:36:27 +08:00
parent d81b055b65
commit a559492f8e

View File

@ -366,7 +366,7 @@ func (r *DoctorWithdrawalService) getDoctorWithdrawalOrderAmountTotal(withdrawal
return 0, errors.New("存在未结束订单,数据错误") return 0, errors.New("存在未结束订单,数据错误")
} }
if orderInquiry.IsWithdrawal != 0 { if orderInquiry.IsWithdrawal == 1 {
return 0, errors.New("存在已被提现订单,数据错误") return 0, errors.New("存在已被提现订单,数据错误")
} }