This commit is contained in:
hujiabin 2022-12-13 11:51:08 +08:00
parent 307392caa5
commit 40f31ff483

View File

@ -123,7 +123,7 @@ class EventRankingController extends BaseAuthedController
case \services\RankActivityService::GUILD_TYPE : {
$rows = myself()->_getSelfMysql()->execQuery(
'SELECT guild_id,SUM(value) AS value FROM t_rank_activity ' .
'WHERE wave=:wave AND type=:type ' .
'WHERE wave=:wave AND type=:type AND guild_id<>""' .
'GROUP BY guild_id '.
'ORDER BY value DESC ' .
"LIMIT 10",