Commit 9cd4c13a authored by liming's avatar liming

系列赛完结接口

parent 890c2f50
......@@ -278,6 +278,8 @@ public class SeriesService {
public SeriesKnockoutMatchHomeVO getSeriesKnockoutMatchHomeData(Long roundId, Long sportUserId) {
SeriesKnockoutMatchHomeVO result = new SeriesKnockoutMatchHomeVO();
SeriesKnockoutMatchListVO myMatch = seriesBusinessMapper.getUserSeriesKnockoutMatch(roundId, sportUserId);
SeriesRound seriesRound = seriesRoundMapper.selectById(roundId);
result.setResultConfirm(seriesRound.getResultConfirm());
result.setMyMatch(myMatch);
result.setMatchList(seriesBusinessMapper.getOtherSeriesKnockoutMatchList(roundId, sportUserId));
if (myMatch != null) {
......
......@@ -9,6 +9,8 @@ import java.util.List;
@ApiModel("淘汰赛主页数据")
@Data
public class SeriesKnockoutMatchHomeVO {
@ApiModelProperty("成绩是否已确认")
private Boolean resultConfirm;
@ApiModelProperty("我的排名")
private Integer myRank;
@ApiModelProperty("我的比赛")
......
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