|
|
@@ -1615,7 +1615,7 @@ func (r *THJUserLevelInfo) Get() (err error) {
|
|
|
t.*
|
|
|
from thj_useraccount t
|
|
|
left join thj_investorlevelgroup i on i.levelgroupid = t.levelgroupid
|
|
|
- left join thj_investorlevelgroup i2 on i2.levelgroupid = (t.levelgroupid + 1)
|
|
|
+ left join thj_investorlevelgroup i2 on i2.grouplevel = (i.grouplevel + 1)
|
|
|
where t.userid = %v`, r.USERID)
|
|
|
_, err = db.GetEngine().SQL(sql).Get(&t)
|
|
|
if err != nil {
|