From 6d519474e44855682043d3c40db2c86a6822caca Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期三, 24 九月 2025 19:37:59 +0800
Subject: [PATCH] 修改员工和评委的设置
---
backend/src/main/resources/graphql/player.graphqls | 27 +++++++++++++++++++++------
1 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/backend/src/main/resources/graphql/player.graphqls b/backend/src/main/resources/graphql/player.graphqls
index f11a00a..c3d8336 100644
--- a/backend/src/main/resources/graphql/player.graphqls
+++ b/backend/src/main/resources/graphql/player.graphqls
@@ -26,6 +26,7 @@
type ActivityPlayerDetailResponse {
id: ID!
playerInfo: PlayerInfoResponse!
+ regionInfo: RegionInfoResponse
activityName: String!
description: String
submissionFiles: [SubmissionMediaResponse!]!
@@ -39,6 +40,13 @@
phone: String
description: String
avatarUrl: String
+}
+
+# 鍖哄煙淇℃伅鍝嶅簲
+type RegionInfoResponse {
+ id: ID!
+ name: String!
+ fullPath: String
}
# 鎻愪氦璧勬枡鍝嶅簲
@@ -69,7 +77,7 @@
# 璇勫垎椤圭洰杈撳叆绫诲瀷
input ActivityPlayerRatingItemInput {
itemId: ID!
- score: Int!
+ score: Float!
}
# 璇勫璇勫垎鐘舵�佸搷搴旂被鍨�
@@ -83,12 +91,19 @@
# 褰撳墠璇勫璇勫垎鍝嶅簲绫诲瀷
type CurrentJudgeRatingResponse {
- activityPlayerId: ID!
- judgeId: ID!
- ratings: [RatingItemScoreResponse!]!
- comment: String
+ id: ID!
totalScore: Float
- ratingTime: String
+ status: Int
+ remark: String
+ items: [CurrentJudgeRatingItemResponse!]!
+}
+
+# 褰撳墠璇勫璇勫垎椤瑰搷搴旂被鍨�
+type CurrentJudgeRatingItemResponse {
+ ratingItemId: ID!
+ ratingItemName: String!
+ score: Float!
+ weightedScore: Float!
}
# 璇勫垎椤圭洰鍒嗘暟鍝嶅簲绫诲瀷
--
Gitblit v1.8.0