From f04f35b562760afbac0c477357e2a29f77aec3b9 Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期四, 02 十月 2025 13:51:47 +0800 Subject: [PATCH] fix: 修复评审次数重复显示问题 --- backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java b/backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java index 8a53c4b..f535211 100644 --- a/backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java +++ b/backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java @@ -154,6 +154,24 @@ } /** + * 妫�鏌ヨ瘎濮旀槸鍚﹀湪鎸囧畾姣旇禌闃舵鐨勮瘎濮斿垪琛ㄤ腑 + */ + @QueryMapping + public Boolean isJudgeInActivity(@Argument Long stageId, @Argument Long judgeId) { + log.info("妫�鏌ヨ瘎濮旀潈闄愶紝stageId: {}, judgeId: {}", stageId, judgeId); + return ratingService.isJudgeInActivity(stageId, judgeId); + } + + /** + * 鑾峰彇鎸囧畾璇勫鐨勮瘎鍒嗘槑缁� + */ + @QueryMapping + public CurrentJudgeRatingResponse judgeRatingDetail(@Argument Long activityPlayerId, @Argument Long judgeId) { + log.info("鑾峰彇鎸囧畾璇勫璇勫垎鏄庣粏锛宎ctivityPlayerId: {}, judgeId: {}", activityPlayerId, judgeId); + return ratingService.getJudgeRatingDetail(activityPlayerId, judgeId); + } + + /** * 鎻愪氦娲诲姩鎶ュ悕 */ @MutationMapping -- Gitblit v1.8.0