zhibing.pu
2024-07-24 47e23cf659d4cc58bc93b44b16e64e82efcfb08d
cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/mapper/WorldCupCompetitorMapper.java
@@ -2,10 +2,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsh.communityWorldCup.entity.WorldCupCompetitor;
import com.dsh.communityWorldCup.model.MatchRecord;
import com.dsh.communityWorldCup.model.MatchRecordList;
import com.dsh.communityWorldCup.model.WorldCupRank;
import com.dsh.communityWorldCup.model.WorldCupRankVo;
import com.dsh.communityWorldCup.model.*;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@@ -39,4 +36,55 @@
     * @return
     */
    List<Map<String, Object>> getWorldCupRank(@Param("item") WorldCupRank worldCupRank, @Param("appUserIds") List<Integer> appUserIds);
    List<Map<String, Object>> getWorldCupRank1(@Param("item") WorldCupRank worldCupRank, @Param("appUserIds") List<Integer> appUserIds);
    /**
     * 获取比赛排行榜列表数据
     * @param worldCupRecords
     * @return
     */
    List<Map<String, Object>> worldCupRecordsList(@Param("item") WorldCupRecords worldCupRecords, @Param("appUserIds") List<Integer> appUserIds);
    /**
     * 获取比赛排行榜列表数据
     * @param worldCupRecords
     * @return
     */
    List<Map<String, Object>> worldCupRecordsList1(@Param("item") WorldCupRecords worldCupRecords, @Param("appUserIds") List<Integer> appUserIds);
    int worldCupRecordsListCount(@Param("appUserIds") List<Integer> appUserIds);
    /**
     * 获取比赛统计详情列表
     * @param worldCupId
     * @return
     */
    List<Map<String, Object>> worldCupGameStatisticsInfoList(@Param("worldCupId") Integer worldCupId);
    /**
     * 获取用户比赛记录详情
     * @param name
     * @return
     */
    List<Map<String, Object>> userGameRecordList(@Param("name") String name);
    Map<String, Object> getUserGameRecordList(@Param("participantType") Integer participantType, @Param("participantId") Long participantId);
    Map<String, Object> getUserGameRecordList1(@Param("participantType") Integer participantType, @Param("participantId") Long participantId);
    /**
     * 获取比赛场次
     * @param worldCupId
     * @return
     */
    int getMatchTime(@Param("worldCupId") Integer worldCupId);
}