工会申请列表红点

back_recharge
lvxinran 2019-09-26 17:56:15 +08:00
parent 63687ab6cd
commit 9d90c6f661
1 changed files with 9 additions and 4 deletions

View File

@ -207,11 +207,16 @@ public class GuildLogic {
continue; continue;
} }
GuilidManager.addApplyGuildInfo(guildApply); GuilidManager.addApplyGuildInfo(guildApply);
Map<Integer, Set<Integer>> members = GuilidManager.guildInfoMap.get(applyGuilds).getMembers(); Map<Integer, Set<Integer>> members = GuilidManager.guildInfoMap.get(applyGuildId).getMembers();
for(Set<Integer> items : members.values()){ for(Map.Entry<Integer, Set<Integer>> entry: members.entrySet()){
for(Integer sendUid : items){ if(entry.getValue().size()<1){
continue;
}
if (entry.getKey()==3){
continue;
}
for(Integer sendUid : entry.getValue()){
MessageUtil.sendRedIndication(sendUid,GlobalsDef.GUILD_APPLY_TYPE); MessageUtil.sendRedIndication(sendUid,GlobalsDef.GUILD_APPLY_TYPE);
} }
} }
} }