Browse Source

提交代码

tags/v1.22.4.1^2
ychao_1983 3 years ago
parent
commit
ecf1e08c40
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/org.go

+ 1
- 1
models/org.go View File

@@ -208,7 +208,7 @@ func FindTopNMembersOrgs(n int) ([]*OrgScore, error) {
}

func FindTopNOpenIOrgs(n int) ([]*OrgScore, error) {
sql := "select org_id id,num_score score from org_statistic order by num_score desc limit 10" + strconv.Itoa(n)
sql := "select org_id id,num_score score from org_statistic order by num_score desc limit " + strconv.Itoa(n)

return findTopNOrgs(sql)
}


Loading…
Cancel
Save