diff --git a/app/svc/financial_center/svc_withdraw.go b/app/svc/financial_center/svc_withdraw.go index 55d0e61..a138c95 100644 --- a/app/svc/financial_center/svc_withdraw.go +++ b/app/svc/financial_center/svc_withdraw.go @@ -31,9 +31,9 @@ func WithDrawManagementGetApply(engine *xorm.Engine, req *md.GetWithdrawApplyLis switch req.IsFirst { case "1": // 首次提现 - session = session.Where("apply.is_first", req.IsFirst) + session = session.Where("apply.is_first = ?", req.IsFirst) case "0": - session = session.Where("apply.is_first", req.IsFirst) + session = session.Where("apply.is_first = ?", req.IsFirst) } if req.WithdrawType != "" {