From 2d410989d32380d31ae3fe6d42aa3b3ba9e09d00 Mon Sep 17 00:00:00 2001
From: lrj <owen.stl@gmail.com>
Date: 星期五, 03 十月 2025 22:13:29 +0800
Subject: [PATCH] UI优化和bug修复: 1.调整小程序消息列表图标样式 2.优化web端比赛晋级页面布局 3.修复小程序消息列表日期显示问题

---
 backend/src/main/resources/graphql/judge.graphqls |   95 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 92 insertions(+), 3 deletions(-)

diff --git a/backend/src/main/resources/graphql/judge.graphqls b/backend/src/main/resources/graphql/judge.graphqls
index 32b8f19..6b6c37e 100644
--- a/backend/src/main/resources/graphql/judge.graphqls
+++ b/backend/src/main/resources/graphql/judge.graphqls
@@ -10,6 +10,16 @@
     
     "鑾峰彇鑵捐浜慍OS涓存椂涓婁紶鍑瘉"
     getUploadCredentials: CosCredentials
+    
+    # 璇勫璇勫鐩稿叧鏌ヨ
+    "鑾峰彇鎻愪氦璇︽儏"
+    getSubmissionDetail(submissionId: ID!): SubmissionDetailResponse
+
+    # 妫�鏌ヨ瘎瀹$姸鎬�
+    checkReviewStatus(submissionId: ID!): ReviewStatusResponse
+    
+    # 鑾峰彇璇勫缁熻鏁版嵁
+    judgeStats: JudgeStatsResponse
 }
 
 extend type Mutation {
@@ -18,6 +28,13 @@
     
     "鍒犻櫎璇勫"
     deleteJudge(id: ID): Boolean
+    
+    # 璇勫鐩稿叧mutation
+    "淇濆瓨璇勫鑽夌"
+    saveReviewDraft(input: ReviewDraftInput!): ReviewDraftResponse
+    
+    "鎻愪氦璇勫"
+    submitReview(input: ReviewSubmitInput!): ReviewSubmitResponse
 }
 
 "璇勫杈撳叆绫诲瀷"
@@ -27,6 +44,7 @@
     title: String
     company: String
     phone: String
+    password: String
     gender: Int
     description: String
     introduction: String
@@ -51,12 +69,14 @@
     tags: [TagResponse]
 }
 
-"鏍囩鍝嶅簲绫诲瀷"
+# 鏍囩鍝嶅簲绫诲瀷锛堢敤浜庤瘎濮斾笓涓氶鍩燂級
 type TagResponse {
-    id: ID
-    name: String
+    id: Long!
+    name: String!
     code: String
 }
+
+
 
 "鑵捐浜慍OS涓存椂鍑瘉绫诲瀷"
 type CosCredentials {
@@ -67,3 +87,72 @@
     expiration: String
 }
 
+# 鎻愪氦璇︽儏鍝嶅簲绫诲瀷
+type SubmissionDetailResponse {
+    id: ID!
+    activityId: ID!
+    playerId: ID!
+    playerName: String
+    projectName: String
+    description: String
+    submissionFiles: [SubmissionMediaResponse]
+    currentScore: Float
+    maxScore: Int
+    reviewStatus: String
+}
+
+# 璇勫鐘舵�佸搷搴旂被鍨�
+type ReviewStatusResponse {
+    submissionId: ID!
+    reviewStatus: String
+    canReview: Boolean
+    hasReviewed: Boolean
+    currentScore: Float
+    reviewTime: String
+}
+
+# 璇勫鑽夌杈撳叆绫诲瀷
+input ReviewDraftInput {
+    submissionId: ID!
+    scores: [ReviewScoreInput!]!
+    comments: String
+}
+
+# 璇勫鎻愪氦杈撳叆绫诲瀷
+input ReviewSubmitInput {
+    submissionId: ID!
+    scores: [ReviewScoreInput!]!
+    comments: String
+    finalScore: Float!
+}
+
+# 璇勫鍒嗘暟杈撳叆绫诲瀷
+input ReviewScoreInput {
+    itemId: ID!
+    score: Float!
+}
+
+# 璇勫鑽夌鍝嶅簲绫诲瀷
+type ReviewDraftResponse {
+    id: ID!
+    submissionId: ID!
+    status: String
+    saveTime: String
+}
+
+# 璇勫鎻愪氦鍝嶅簲绫诲瀷
+type ReviewSubmitResponse {
+    id: ID!
+    submissionId: ID!
+    finalScore: Float!
+    status: String
+    submitTime: String
+}
+
+# 璇勫缁熻鍝嶅簲绫诲瀷
+type JudgeStatsResponse {
+    pendingReviews: Int!
+    completedReviews: Int!
+    totalReviews: Int!
+}
+

--
Gitblit v1.8.0