Merge branch 'feature/huangqijiuguan' into dev

This commit is contained in:
xichaoyin 2024-01-11 20:57:59 +08:00
commit a91a8f0657

View File

@ -127,7 +127,7 @@ export default class HQJGFun {
*/ */
static async getRankList(hdid: number) { static async getRankList(hdid: number) {
let uids = await G.mongodb.collection("event").find( let uids = await G.mongodb.collection("event").find(
{ type: this.dataType(hdid) }, { type: this.dataType(hdid), "bossres.maxdps": { $gt: 0 } },
{ {
sort: { "bossres.maxdps": -1, "bossres.zhanli": -1 }, sort: { "bossres.maxdps": -1, "bossres.zhanli": -1 },
projection: { uid: 1, bossres: 1 } projection: { uid: 1, bossres: 1 }