Commit 8fd07cbd authored by liming's avatar liming

运动记录增加性别字段

parent a3443f24
...@@ -61,4 +61,6 @@ public class SeriesKnockoutMatchRankVO { ...@@ -61,4 +61,6 @@ public class SeriesKnockoutMatchRankVO {
private Integer status; private Integer status;
@ApiModelProperty("成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级") @ApiModelProperty("成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级")
private Integer resultConfirmStatus; private Integer resultConfirmStatus;
@ApiModelProperty("性别1 男 2 女")
private Integer sex;
} }
...@@ -55,4 +55,6 @@ public class SeriesQualifyingMatchRankVO { ...@@ -55,4 +55,6 @@ public class SeriesQualifyingMatchRankVO {
private BigDecimal twentyMinutesWkg; private BigDecimal twentyMinutesWkg;
@ApiModelProperty("成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级") @ApiModelProperty("成绩确认状态 10 待确认 20 无效 30已确认未晋级 40晋级")
private Integer resultConfirmStatus; private Integer resultConfirmStatus;
@ApiModelProperty("性别1 男 2 女")
private Integer sex;
} }
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<select id="getSeriesQualifyingMatchRank" <select id="getSeriesQualifyingMatchRank"
resultType="com.antai.sport.http.server.server.api.business.series.vo.SeriesQualifyingMatchRankVO"> resultType="com.antai.sport.http.server.server.api.business.series.vo.SeriesQualifyingMatchRankVO">
select t2.*,t3.avatar,t3.nickname,t4.ftp,t4.heart_rate,t4.avg_heart_rate,t4.height select t2.*,t3.avatar,t3.nickname,t3.sex,t4.ftp,t4.heart_rate,t4.avg_heart_rate,t4.height
from series_round_rank t1 from series_round_rank t1
left join series_match_player_record t2 on t1.record_id = t2.id left join series_match_player_record t2 on t1.record_id = t2.id
left join sport_user t3 on t1.sport_user_id = t3.id left join sport_user t3 on t1.sport_user_id = t3.id
...@@ -154,6 +154,7 @@ ...@@ -154,6 +154,7 @@
t1.match_rank as game_rank, t1.match_rank as game_rank,
t2.avatar, t2.avatar,
t2.nickname, t2.nickname,
t2.sex,
t3.ftp, t3.ftp,
t3.heart_rate, t3.heart_rate,
t3.avg_heart_rate, t3.avg_heart_rate,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment