liujie
2023-07-26 57a7c48cc4c81f7e9719c414e4abae942c93a21b
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
package com.dsh.competition.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.dsh.competition.entity.PaymentCompetition;
import com.dsh.competition.model.CompetitionInfo;
import com.dsh.competition.model.CompetitionListVo;
import com.dsh.competition.util.ResultUtil;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @date 2023/7/6 16:37
 */
public interface IPaymentCompetitionService extends IService<PaymentCompetition> {
 
 
    /**
     * 获取我的赛事报名记录
     * @param uid
     * @param type
     * @param pageSize
     * @param pageNo
     * @return
     * @throws Exception
     */
    List<CompetitionListVo> queryMyCompetitionList(Integer uid, Integer type, Integer pageSize, Integer pageNo) throws Exception;
 
 
    /**
     * 获取我报名的赛事详情
     * @param id
     * @return
     * @throws Exception
     */
    CompetitionInfo queryMyCompetitionInfo(Long id) throws Exception;
 
 
    /**
     * 取消赛事报名
     * @param id
     * @return
     * @throws Exception
     */
    ResultUtil cancelMyCompetition(Long id) throws Exception;
}