|
|
@@ -82,7 +82,9 @@ func WithDrawManagementGetApply(engine *xorm.Engine, req *md.GetWithdrawApplyLis |
|
|
|
if req.Level != "" { |
|
|
|
session = session.Where("usera.level = ?", req.Level) |
|
|
|
} |
|
|
|
total, err := session.Select("apply.*, alipay.open_id as alipay_open_id, alipay.user_name as alipay_user_name, wx.user_id as wx_user_id, wx.user_name as wx_user_name, usera.system_invite_code as system_invite_code"). |
|
|
|
total, err := session.Select("apply.*, alipay.open_id as alipay_open_id, alipay.user_name as alipay_user_name,"+ |
|
|
|
" wx.user_id as wx_user_id, wx.user_name as wx_user_name,"+ |
|
|
|
" usera.system_invite_code as system_invite_code, usera.custom_invite_code as custom_invite_code"). |
|
|
|
Limit(req.Limit, (req.Page-1)*req.Limit).Asc("apply.id").FindAndCount(&applies) |
|
|
|
if err != nil { |
|
|
|
return nil, 0, err |
|
|
|