implement MC prios and trials no reserve
This commit is contained in:
@@ -289,12 +289,14 @@ export class RaidManager
|
||||
.select('*', 's.id as id')
|
||||
.join('raids as r', 's.raidid', '=', 'r.id')
|
||||
.join('characters as c', 's.characterid', '=', 'c.id')
|
||||
.join('users as u', 'u.id', '=' ,'c.userid')
|
||||
.join(raidInDb.tier + 'tokens as t', 't.characterid', '=', 'c.id')
|
||||
.join('items as i', 'i.itemname', '=', 't.itemname')
|
||||
.where({
|
||||
'r.id': raid.id,
|
||||
})
|
||||
.andWhere(function () {
|
||||
this.whereNotIn('u.rank', ['Trial', 'Guest'])
|
||||
this.whereNotNull('t.signupid')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user