diff --git a/game_web/web_group/src/main/java/com/group/service/GroupService.java b/game_web/web_group/src/main/java/com/group/service/GroupService.java index 498644f..12a785c 100644 --- a/game_web/web_group/src/main/java/com/group/service/GroupService.java +++ b/game_web/web_group/src/main/java/com/group/service/GroupService.java @@ -2541,6 +2541,7 @@ public class GroupService { arr.addTObject(obj); } + log.info("sql:"+sql); ITArray arr1 = DataBase.use().executeQueryByTArray(sql); if (arr1.size() > 0) { for (int i = 0; i < arr1.size(); ++i) { @@ -3442,7 +3443,6 @@ public class GroupService { if(pids.size() > 0) { for(String strPid : pids) { - p_reward_key = GroupCache.genRewardKey(groupId,Integer.parseInt(strPid)); GroupPlayBean gpb = GroupCache.getPlay(groupId, Integer.parseInt(strPid)); @@ -3454,8 +3454,12 @@ public class GroupService { tempMaxRound = hpObjTemp.getInt("maxRound"); } - if ((maxRound == 1 && tempMaxRound != 1) || (maxRound != 1 && tempMaxRound == 1)) + if (tempMaxRound<1) { + log.info("跳过maxRound:"+maxRound); + log.info("跳过tempMaxRound:"+tempMaxRound); + log.info("跳过pid:"+strPid); + continue; } } @@ -3492,8 +3496,13 @@ public class GroupService { tempMaxRound = hpObjTemp.getInt("maxRound"); } - if ((maxRound == 1 && tempMaxRound != 1) || (maxRound != 1 && tempMaxRound == 1)) + if (tempMaxRound<1) { + log.info("跳过maxRound:"+maxRound); + log.info("跳过tempMaxRound:"+tempMaxRound); + + log.info("跳过pid:"+strPid); + continue; } } @@ -3526,6 +3535,9 @@ public class GroupService { } } + }else { + log.info("玩法规则不一致,跳过pid:"+strPid); + } }