福利红包
parent
645d0b00cc
commit
4160bac4a5
|
@ -1206,6 +1206,8 @@ public class GuildLogic {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void openNext(Map<Integer,Integer> map,int groupId,int cur){
|
public static void openNext(Map<Integer,Integer> map,int groupId,int cur){
|
||||||
|
if(map.containsKey(cur+1))
|
||||||
|
return;
|
||||||
boolean f = false;
|
boolean f = false;
|
||||||
for(SGuildRedPackConfig config : SGuildRedPackConfig.welfareRedPackBySerise.get(groupId)){
|
for(SGuildRedPackConfig config : SGuildRedPackConfig.welfareRedPackBySerise.get(groupId)){
|
||||||
if(f){
|
if(f){
|
||||||
|
@ -1256,6 +1258,13 @@ public class GuildLogic {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
for(SGuildRedPackConfig c : serise){
|
for(SGuildRedPackConfig c : serise){
|
||||||
|
if(config.getGroupId() == 1){
|
||||||
|
Integer state = redPacketsMap.get(c.getRuleId()[0]);
|
||||||
|
if(state != null && c.getId() == config.getId()){
|
||||||
|
redPacketsMap.put(c.getRuleId()[0],1);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
if(redPacketsMap.containsKey(c.getId())){
|
if(redPacketsMap.containsKey(c.getId())){
|
||||||
if(redPacketsMap.get(c.getId())>-1){
|
if(redPacketsMap.get(c.getId())>-1){
|
||||||
redPacketsMap.put(c.getId(),1);
|
redPacketsMap.put(c.getId(),1);
|
||||||
|
|
Loading…
Reference in New Issue