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
  
  # 报名状态查询
@@ -39,6 +41,8 @@
  phone: String
  applyTime: String!
  state: Int
  ratingCount: Int
  averageScore: Float
}
# 比赛报名详情响应(用于评分页面)
@@ -55,6 +59,22 @@
  ratingForm: RatingFormResponse
}
# 报名审核分页响应类型
type PlayerApplicationPageResponse {
    content: [ActivityPlayerApplicationResponse!]!
    totalElements: Int!
    page: Int!
    size: Int!
}
# 项目评审分页响应类型
type ProjectReviewApplicationPageResponse {
    content: [ActivityPlayerApplicationResponse!]!
    totalElements: Int!
    page: Int!
    size: Int!
}
# 学员信息响应
type PlayerInfoResponse {
    id: ID