DengBiao 1 ano atrás
pai
commit
b805f9c477
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      rule/public_platoon_relate_commission.go

+ 1
- 1
rule/public_platoon_relate_commission.go Ver arquivo

@@ -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
}


Carregando…
Cancelar
Salvar