From d53af4c16d0b91a6e1d6690aae37cdabd1f9884b Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Wed, 11 Dec 2024 18:59:06 +0800 Subject: [PATCH] update --- app/svc/financial_center/svc_withdraw.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 != "" {