bug
Codex Assistant
2025-11-05 3714621173c606c4c58439ed8941100ce9ddea14
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!]!
    # 获取指定选手的平均分
@@ -24,7 +24,7 @@
    # 微信端获取选手报名状态
    getPlayerRegistrationState(activityId: ID!): PlayerRegistrationResponse
    # 获取比赛晋级列表
    promotionCompetitions(name: String, page: Int, size: Int): [PromotionCompetitionResponse!]!
    promotionCompetitions(name: String, page: Int, size: Int): PromotionCompetitionPageResponse!
    # 获取可晋级参赛者列表
    promotableParticipants(currentStageId: ID!): PromotableParticipantsResponse
}
@@ -56,7 +56,7 @@
type Player {
    id: ID!
    name: String
    phone: String
    phone: String @deprecated(reason: "此字段已废弃,请使用关联User实体的phone字段")
}
type PlayerApplicationPageResponse {
@@ -96,6 +96,7 @@
    totalScore: Float
    status: Int
    remark: String
    ratedAt: String
    items: [CurrentJudgeRatingItemResponse!]!
}
@@ -105,6 +106,7 @@
    ratingItemName: String!
    score: Float
    weightedScore: Float
    maxScore: Float
}
type ProjectStageTimelineResponse {
@@ -173,7 +175,7 @@
type PlayerInfoResponse {
    id: ID
    name: String
    phone: String
    phone: String @deprecated(reason: "此字段已废弃,请使用userInfo.phone字段")
    gender: Int
    birthday: String
    education: String
@@ -308,6 +310,15 @@
    state: Int
}
# 比赛晋级列表分页响应类型
type PromotionCompetitionPageResponse {
    content: [PromotionCompetitionResponse!]!
    totalElements: Long!
    page: Int!
    size: Int!
    totalPages: Int!
}
# 可晋级参赛者列表响应类型
type PromotableParticipantsResponse {
    participants: [PromotableParticipantResponse!]!