Codex Assistant
22 小时以前 58d9f460b2f8c34430285115e2557d18333c5cab
backend/src/main/resources/graphql/player.graphqls
@@ -2,7 +2,7 @@
    myActivityPlayer(activityId: ID!): ActivityPlayer
    activityPlayerApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): PlayerApplicationPageResponse
    # 项目评审专用查询,包含所有阶段数据(包括复赛、决赛)
    projectReviewApplications(name: String, activityId: ID, state: Int, page: Int, size: Int): ProjectReviewApplicationPageResponse
    projectReviewApplications(name: String, activityId: ID, regionId: ID, state: Int, page: Int, size: Int): ProjectReviewApplicationPageResponse
    # 获取指定选手的所有评委评分状态
    judgeRatingsForPlayer(activityPlayerId: ID!): [JudgeRatingStatusResponse!]!
    # 获取指定选手的平均分
@@ -17,6 +17,10 @@
    # 获取当前评委对选手的评分
    currentJudgeRating(activityPlayerId: ID!): CurrentJudgeRatingResponse
    activityPlayerDetail(id: ID!): ActivityPlayerDetailResponse
    # 获取参赛项目阶段时间轴及评分概况
    projectStageTimeline(activityPlayerId: ID!): ProjectStageTimelineResponse
    # 获取指定阶段的评委评分详情
    stageJudgeRatings(activityPlayerId: ID!): StageJudgeRatingDetailResponse
    # 微信端获取选手报名状态
    getPlayerRegistrationState(activityId: ID!): PlayerRegistrationResponse
    # 获取比赛晋级列表
@@ -52,7 +56,7 @@
type Player {
    id: ID!
    name: String
    phone: String
    phone: String @deprecated(reason: "此字段已废弃,请使用关联User实体的phone字段")
}
type PlayerApplicationPageResponse {
@@ -92,6 +96,7 @@
    totalScore: Float
    status: Int
    remark: String
    ratedAt: String
    items: [CurrentJudgeRatingItemResponse!]!
}
@@ -101,6 +106,44 @@
    ratingItemName: String!
    score: Float
    weightedScore: Float
    maxScore: Float
}
type ProjectStageTimelineResponse {
    activityId: ID!
    activityName: String
    stages: [ProjectStageTimelineItemResponse!]!
}
type ProjectStageTimelineItemResponse {
    stageId: ID!
    stageName: String!
    matchTime: String
    sortOrder: Int
    participated: Boolean!
    activityPlayerId: ID
    averageScore: Float
    ratingCount: Int!
    hasRating: Boolean!
    latestRatingTime: String
}
type StageJudgeRatingDetailResponse {
    activityPlayerId: ID!
    stageId: ID
    stageName: String
    matchTime: String
    ratingCount: Int!
    averageScore: Float
    judgeRatings: [StageJudgeRatingItemResponse!]!
}
type StageJudgeRatingItemResponse {
    judgeId: ID!
    judgeName: String!
    totalScore: Float
    feedback: String
    ratingTime: String
}
type ActivityPlayerApplicationResponse {
@@ -132,7 +175,7 @@
type PlayerInfoResponse {
    id: ID
    name: String
    phone: String
    phone: String @deprecated(reason: "此字段已废弃,请使用userInfo.phone字段")
    gender: Int
    birthday: String
    education: String
@@ -301,4 +344,4 @@
    success: Boolean!
    message: String
    promotedCount: Int
}
}