赛事成绩性别字段

This commit is contained in:
马梓彭 2026-04-15 15:16:36 +08:00
parent 2b11b86724
commit 3624e6f24b
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ public class ScoreListOutput
/// <summary> /// <summary>
/// 性别 /// 性别
/// </summary> /// </summary>
public string Gender { get; set; } public int Gender { get; set; }
/// <summary> /// <summary>
/// 成绩ID /// 成绩ID

View File

@ -148,7 +148,7 @@ public class EventScoreService : BaseService<EventResult>, ITransient
Id = p.Id, Id = p.Id,
Name = p.Name, Name = p.Name,
UnitName = r.TeamName, UnitName = r.TeamName,
Gender = p.Gender.ToString(), Gender = (int)p.Gender,
Score = res.Score, Score = res.Score,
Rank = res.Rank, Rank = res.Rank,
ResultId = res.Id, ResultId = res.Id,