huangjiajun 2 veckor sedan
förälder
incheckning
dc57dc8c8f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      app/operator/hdl/hdl_operator.go

+ 1
- 1
app/operator/hdl/hdl_operator.go Visa fil

@@ -251,7 +251,7 @@ ORDER BY u.uid DESC %s`
LEFT JOIN user u on u.uid=ur.uid
WHERE ur.parent_uid=%d and u.level=2`
sqlCount = fmt.Sprintf(sqlCount, user.Info.Uid)
nativeStringCount, _ := db.QueryNativeString(svc.MasterDb(c), sql)
nativeStringCount, _ := db.QueryNativeString(svc.MasterDb(c), sqlCount)
for _, v := range nativeStringCount {
total = utils.StrToInt(v["count"])
}


Laddar…
Avbryt
Spara