lrj
9 小时以前 f04f35b562760afbac0c477357e2a29f77aec3b9
backend/src/main/resources/graphql/player.graphqls
@@ -1,5 +1,7 @@
extend type Query {
  activityPlayerApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): [ActivityPlayerApplicationResponse!]!
  activityPlayerApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): PlayerApplicationPageResponse!
  # 新增:项目评审专用查询,包含所有阶段数据(包括复赛、决赛)
  projectReviewApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): ProjectReviewApplicationPageResponse!
  activityPlayerDetail(id: ID!): ActivityPlayerDetailResponse
  
  # 报名状态查询
@@ -10,6 +12,12 @@
  currentJudgeRating(activityPlayerId: ID!): CurrentJudgeRatingResponse
  averageScoreForPlayer(activityPlayerId: ID!): Float
  currentJudgeInfo: CurrentJudgeInfoResponse
  # 权限检查查询
  isJudgeInActivity(stageId: ID!, judgeId: ID!): Boolean!
  # 获取指定评委的评分明细
  judgeRatingDetail(activityPlayerId: ID!, judgeId: ID!): CurrentJudgeRatingResponse
  
  # 比赛晋级相关查询
  promotionCompetitions(name: String, page: Int, size: Int): [PromotionCompetitionResponse!]!
@@ -39,6 +47,8 @@
  phone: String
  applyTime: String!
  state: Int
  ratingCount: Int
  averageScore: Float
}
# 比赛报名详情响应(用于评分页面)
@@ -53,6 +63,22 @@
  state: Int
  submissionFiles: [SubmissionMediaResponse!]!
  ratingForm: RatingFormResponse
}
# 报名审核分页响应类型
type PlayerApplicationPageResponse {
    content: [ActivityPlayerApplicationResponse!]!
    totalElements: Int!
    page: Int!
    size: Int!
}
# 项目评审分页响应类型
type ProjectReviewApplicationPageResponse {
    content: [ActivityPlayerApplicationResponse!]!
    totalElements: Int!
    page: Int!
    size: Int!
}
# 学员信息响应
@@ -98,6 +124,7 @@
# 评分提交输入类型
input ActivityPlayerRatingInput {
  activityPlayerId: ID!
  stageId: ID!
  ratings: [ActivityPlayerRatingItemInput!]!
  comment: String
}