无关风月
2025-05-08 9486766c806fe1d9e082b2fd02ea1cc558f1b443
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package com.dsh.communityWorldCup.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsh.communityWorldCup.entity.WorldCupCompetitor;
import com.dsh.communityWorldCup.model.*;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * @author zhibing.pu
 * @Date 2024/2/19 15:45
 */
public interface WorldCupCompetitorMapper extends BaseMapper<WorldCupCompetitor> {
 
    /**
     * 获取参赛次数排名
     * @param appUserIds
     * @return
     */
    List<Map<String, Object>> getNumberOfGamesRanked(@Param("appUserIds") List<Integer> appUserIds);
 
 
    /**
     * 获取比赛记录
     * @param matchRecord
     * @return
     */
    List<MatchRecordList> getMatchRecord(@Param("item") MatchRecord matchRecord);
 
 
    /**
     * 获取参赛排名
     * @param worldCupRank
     * @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);
}