package com.dsh.communityWorldCup.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.dsh.communityWorldCup.entity.WorldCupCompetitor;
|
import com.dsh.communityWorldCup.model.*;
|
|
import java.util.List;
|
|
/**
|
* @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
|
*/
|
void endWorldCupCallback(String custom, Integer red_score, Integer blue);
|
}
|