huangjiajun 1 settimana fa
parent
commit
dc57dc8c8f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/operator/hdl/hdl_operator.go

+ 1
- 1
app/operator/hdl/hdl_operator.go Vedi File

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


Caricamento…
Annulla
Salva