From b39a0502e7941ce966fda53664cf1b04ba52d65f Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期三, 01 十月 2025 17:30:24 +0800
Subject: [PATCH] 清理测试文件:删除所有test、debug、fix、check_开头的文件,为重构做准备

---
 backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 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 adce16f..8a53c4b 100644
--- a/backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java
+++ b/backend/src/main/java/com/rongyichuang/player/api/PlayerGraphqlApi.java
@@ -1,9 +1,12 @@
 package com.rongyichuang.player.api;
 
+import com.rongyichuang.common.dto.PageResponse;
 import com.rongyichuang.player.dto.input.ActivityPlayerRatingInput;
 import com.rongyichuang.player.dto.ActivityRegistrationInput;
 import com.rongyichuang.player.dto.response.ActivityPlayerApplicationResponse;
 import com.rongyichuang.player.dto.response.ActivityPlayerDetailResponse;
+import com.rongyichuang.player.dto.response.ProjectReviewApplicationPageResponse;
+import com.rongyichuang.player.dto.response.PlayerApplicationPageResponse;
 import com.rongyichuang.player.dto.ActivityRegistrationResponse;
 import com.rongyichuang.player.dto.response.JudgeRatingStatusResponse;
 import com.rongyichuang.player.dto.response.CurrentJudgeRatingResponse;
@@ -53,14 +56,32 @@
     }
 
     @QueryMapping
-    public List<ActivityPlayerApplicationResponse> activityPlayerApplications(
+    public PlayerApplicationPageResponse activityPlayerApplications(
             @Argument String name,
             @Argument Long activityId,
             @Argument Integer state,
             @Argument Integer page,
             @Argument Integer size
     ) {
-        return service.listApplications(name, activityId, state, page, size);
+        PageResponse<ActivityPlayerApplicationResponse> pageResponse = 
+            service.listApplications(name, activityId, state, page, size);
+        return PlayerApplicationPageResponse.from(pageResponse);
+    }
+
+    /**
+     * 椤圭洰璇勫涓撶敤鏌ヨ锛屽寘鍚墍鏈夐樁娈垫暟鎹紙鍖呮嫭澶嶈禌銆佸喅璧涳級
+     */
+    @QueryMapping
+    public ProjectReviewApplicationPageResponse projectReviewApplications(
+            @Argument String name,
+            @Argument Long activityId,
+            @Argument Integer state,
+            @Argument Integer page,
+            @Argument Integer size
+    ) {
+        PageResponse<ActivityPlayerApplicationResponse> pageResponse = 
+            service.listProjectReviewApplications(name, activityId, state, page, size);
+        return ProjectReviewApplicationPageResponse.from(pageResponse);
     }
 
     /**

--
Gitblit v1.8.0