Commit 890c2f50 authored by liming's avatar liming

系列赛完结接口

parent e275a2a4
......@@ -86,7 +86,8 @@ public class TrainingDetailVO {
private BigDecimal score;
@ApiModelProperty("比赛状态10:未完成比赛 20:完成比赛")
private Integer status;
@ApiModelProperty("系列赛id 如果记录为系列赛则不为空")
private Long seriesId;
@ApiModelProperty("记录关联排名")
List<TrainingDetailRankVO> rankList;
}
......@@ -614,6 +614,7 @@ public class SportUserTrainingLogService {
if (seriesMatch != null) {
result.setEventsDistance(seriesMatch.getDistance());
result.setEventsClimbDistance(seriesMatch.getClimbDistance());
result.setSeriesId(seriesMatch.getSeriesId());
}
}
if (SportType.BICYCLE.equals(result.getSportType()) &&
......
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