| | |
| | | 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 |
| | | |
| | | # 报名状态查询 |
| | |
| | | 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!]! |
| | |
| | | phone: String |
| | | applyTime: String! |
| | | state: Int |
| | | ratingCount: Int |
| | | averageScore: Float |
| | | } |
| | | |
| | | # 比赛报名详情响应(用于评分页面) |
| | |
| | | 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! |
| | | } |
| | | |
| | | # 学员信息响应 |
| | |
| | | # 评分提交输入类型 |
| | | input ActivityPlayerRatingInput { |
| | | activityPlayerId: ID! |
| | | stageId: ID! |
| | | ratings: [ActivityPlayerRatingItemInput!]! |
| | | comment: String |
| | | } |