|
|
@@ -479,7 +479,7 @@ func JudgeUserBelowLevel(engine *xorm.Engine, uid int) (level int, err error) { |
|
|
|
|
|
|
|
level = son.Level - m.Level |
|
|
|
var list []model.UserPublicPlatoonRelation |
|
|
|
if err = engine.Where("father_uid", son.FatherUid). |
|
|
|
if err = engine.Where("father_uid =?", son.FatherUid). |
|
|
|
Find(&list); err != nil { |
|
|
|
return |
|
|
|
} |
|
|
|