From 8337c34fcc761d07acaad796d10f3e12e9bbe2d1 Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期日, 05 十月 2025 08:56:04 +0800
Subject: [PATCH] feat: 微信项目详情支持阶段评分时间轴

---
 backend/src/main/resources/graphql/player.graphqls |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 54 insertions(+), 1 deletions(-)

diff --git a/backend/src/main/resources/graphql/player.graphqls b/backend/src/main/resources/graphql/player.graphqls
index 8ab03f6..2d165f0 100644
--- a/backend/src/main/resources/graphql/player.graphqls
+++ b/backend/src/main/resources/graphql/player.graphqls
@@ -17,6 +17,10 @@
     # 鑾峰彇褰撳墠璇勫瀵归�夋墜鐨勮瘎鍒�
     currentJudgeRating(activityPlayerId: ID!): CurrentJudgeRatingResponse
     activityPlayerDetail(id: ID!): ActivityPlayerDetailResponse
+    # 鑾峰彇鍙傝禌椤圭洰闃舵鏃堕棿杞村強璇勫垎姒傚喌
+    projectStageTimeline(activityPlayerId: ID!): ProjectStageTimelineResponse
+    # 鑾峰彇鎸囧畾闃舵鐨勮瘎濮旇瘎鍒嗚鎯�
+    stageJudgeRatings(activityPlayerId: ID!): StageJudgeRatingDetailResponse
     # 寰俊绔幏鍙栭�夋墜鎶ュ悕鐘舵��
     getPlayerRegistrationState(activityId: ID!): PlayerRegistrationResponse
     # 鑾峰彇姣旇禌鏅嬬骇鍒楄〃
@@ -103,6 +107,43 @@
     weightedScore: Float
 }
 
+type ProjectStageTimelineResponse {
+    activityId: ID!
+    activityName: String
+    stages: [ProjectStageTimelineItemResponse!]!
+}
+
+type ProjectStageTimelineItemResponse {
+    stageId: ID!
+    stageName: String!
+    matchTime: String
+    sortOrder: Int
+    participated: Boolean!
+    activityPlayerId: ID
+    averageScore: Float
+    ratingCount: Int!
+    hasRating: Boolean!
+    latestRatingTime: String
+}
+
+type StageJudgeRatingDetailResponse {
+    activityPlayerId: ID!
+    stageId: ID
+    stageName: String
+    matchTime: String
+    ratingCount: Int!
+    averageScore: Float
+    judgeRatings: [StageJudgeRatingItemResponse!]!
+}
+
+type StageJudgeRatingItemResponse {
+    judgeId: ID!
+    judgeName: String!
+    totalScore: Float
+    feedback: String
+    ratingTime: String
+}
+
 type ActivityPlayerApplicationResponse {
     id: ID
     playerName: String
@@ -140,6 +181,15 @@
     description: String
     avatarUrl: String
     avatar: MediaResponse
+    userInfo: PlayerUserInfoResponse
+}
+
+type PlayerUserInfoResponse {
+    userId: ID
+    name: String
+    phone: String
+    avatarUrl: String
+    avatar: MediaResponse
 }
 
 type RegionInfoResponse {
@@ -151,7 +201,10 @@
 type SubmissionMediaResponse {
     id: ID
     name: String
+    path: String
     url: String
+    fullUrl: String
+    fullThumbUrl: String
     fileExt: String
     fileSize: Int
     mediaType: Int
@@ -289,4 +342,4 @@
     success: Boolean!
     message: String
     promotedCount: Int
-}
\ No newline at end of file
+}

--
Gitblit v1.8.0