From 9f073b26a0ed6af25f06315df9d60ce02bcb9595 Mon Sep 17 00:00:00 2001 From: luofl <1442745593@qq.com> Date: 星期三, 16 四月 2025 14:23:02 +0800 Subject: [PATCH] 1 --- cloud-server-other/src/main/java/com/dsh/other/controller/BallController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/BallController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/BallController.java index ae37dce..84b2775 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/controller/BallController.java +++ b/cloud-server-other/src/main/java/com/dsh/other/controller/BallController.java @@ -87,7 +87,8 @@ return new ArrayList<>(); } else { // 根据游戏id获取游戏记录 获取用户Ids - List<Integer> userId = gameRecordService.list(new QueryWrapper<TGameRecord>().in("gameId", gamesId)) + List<Integer> userId = gameRecordService.list(new QueryWrapper<TGameRecord>().in("gameId", gamesId) + .eq("status",1)) .stream().map(TGameRecord::getUserId).collect(Collectors.toList()); return userId; } -- Gitblit v1.7.1