|
@@ -820,7 +820,7 @@ func (r *MemberPayInfo) buildSql() string {
|
|
|
from userpayinfo t
|
|
from userpayinfo t
|
|
|
inner join useraccount ua on t.userid = ua.memberuserid
|
|
inner join useraccount ua on t.userid = ua.memberuserid
|
|
|
where ua.userid = %v
|
|
where ua.userid = %v
|
|
|
- order by t.paymodel
|
|
|
|
|
|
|
+ order by t.paymodel desc
|
|
|
`
|
|
`
|
|
|
sqlId.FormatParam(r.USERID)
|
|
sqlId.FormatParam(r.USERID)
|
|
|
return sqlId.String()
|
|
return sqlId.String()
|