package com.dsh.communityWorldCup.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.dsh.communityWorldCup.entity.WorldCupCompetitor;
|
import com.dsh.communityWorldCup.model.*;
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/2/19 15:47
|
*/
|
public interface IWorldCupCompetitorService extends IService<WorldCupCompetitor> {
|
|
|
/**
|
* 获取参赛人员名次
|
* @param entrantRank
|
* @return
|
*/
|
EntrantRankVo getEntrantRank(EntrantRank entrantRank);
|
|
|
/**
|
* 获取比赛记录
|
* @param matchRecord
|
* @return
|
*/
|
MatchRecordVo getMatchRecord(MatchRecord matchRecord);
|
|
|
/**
|
* 获取参赛排名
|
* @param worldCupRank
|
* @return
|
*/
|
List<WorldCupRankVo> getWorldCupRank(WorldCupRank worldCupRank);
|
|
|
/**
|
* 比赛结束后通知处理逻辑
|
* @param custom
|
* @param red_score
|
* @param blue_score
|
*/
|
void endWorldCupCallback(String custom, Integer red_score, Integer blue_score);
|
|
|
/**
|
* 获取比赛排行榜列表数据
|
* @param worldCupRecords
|
* @return
|
*/
|
Map<String, Object> worldCupRecordsList(WorldCupRecords worldCupRecords);
|
|
|
/**
|
* 获取比赛统计详情列表
|
* @param worldCupGameStatisticsInfoList
|
* @return
|
*/
|
Map<String, Object> worldCupGameStatisticsInfoList(WorldCupGameStatisticsInfoList worldCupGameStatisticsInfoList);
|
|
|
/**
|
* 获取单场参赛详情列表
|
* @return
|
*/
|
Map<String, Object> worldCupGameStatisticsListInfo(WorldCupGameStatisticsListInfo worldCupGameStatisticsListInfo);
|
|
|
/**
|
* 修改比分
|
* @param changeScore
|
*/
|
void changeScore(ChangeScore changeScore);
|
|
|
/**
|
* 获取用户比赛记录明细
|
* @param userGameRecordList
|
* @return
|
*/
|
Map<String, Object> userGameRecordList(UserGameRecordList userGameRecordList);
|
|
|
/**
|
* 获取比赛场次
|
* @param worldCupId
|
* @return
|
*/
|
int getMatchTime(Integer worldCupId);
|
}
|