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