From 6899ded0666373eeeaba392602aa859b0e852a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=B3=BD=E5=B8=86?= <411641460@qq.com> Date: Thu, 5 Feb 2026 05:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E9=94=AE=E8=AE=BE?= =?UTF-8?q?=E7=BD=AEBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/group/service/GroupService.java | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) 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); + } }