1
This commit is contained in:
parent
dbfb8f6e29
commit
344d2a8384
@ -57,6 +57,11 @@ func (this *guildMgr) AsyncCreateGuild(string, string, func(int32, string, int64
|
||||
|
||||
func (this *guildMgr) AsyncGetApplyList(lastIdx int64, accountId string,
|
||||
cb func(int32, string, int64, []string)) {
|
||||
guild := this.GetGuildByAccountId(accountId)
|
||||
if guild != nil {
|
||||
cb(0, "", 0, nil)
|
||||
return
|
||||
}
|
||||
f5.GetJsStyleDb().PageQuery(
|
||||
constant.FRIEND_DB,
|
||||
50,
|
||||
@ -65,6 +70,7 @@ func (this *guildMgr) AsyncGetApplyList(lastIdx int64, accountId string,
|
||||
[]string{},
|
||||
f5.GetDbFilter().Comp(
|
||||
f5.GetDbFilter().GT("idx", q5.ToString(lastIdx)).And(),
|
||||
f5.GetDbFilter().EQ("guild_id", guild.GetGuildId()).And(),
|
||||
f5.GetDbFilter().EQ("account_id", accountId).And(),
|
||||
f5.GetDbFilter().EQ("status", "0"),
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user