DengBiao 1 year ago
parent
commit
b805f9c477
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/public_platoon_relate_commission.go

+ 1
- 1
rule/public_platoon_relate_commission.go View File

@@ -479,7 +479,7 @@ func JudgeUserBelowLevel(engine *xorm.Engine, uid int) (level int, err error) {


level = son.Level - m.Level level = son.Level - m.Level
var list []model.UserPublicPlatoonRelation var list []model.UserPublicPlatoonRelation
if err = engine.Where("father_uid", son.FatherUid).
if err = engine.Where("father_uid =?", son.FatherUid).
Find(&list); err != nil { Find(&list); err != nil {
return return
} }


Loading…
Cancel
Save