| | |
| | | package com.dsh.competition.service; |
| | | |
| | | import com.alipay.api.AlipayApiException; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import cn.mb.cloud.common.core.exception.BusinessException; |
| | | import com.dsh.competition.entity.Competition; |
| | | import com.dsh.competition.model.CompetitionInfo; |
| | | import com.dsh.competition.model.CompetitionListVo; |
| | |
| | | |
| | | /** |
| | | * <p> |
| | | * 服务类 |
| | | * 服务类 |
| | | * </p> |
| | | * |
| | | * @author jqs |
| | |
| | | */ |
| | | public interface CompetitionService extends IService<Competition> { |
| | | |
| | | /** |
| | | * 修改活动并校验已报名数据的完整性。 |
| | | * |
| | | * @param competition 管理端提交的活动信息 |
| | | * @throws cn.mb.cloud.common.core.exception.BusinessException 活动不存在或编辑数据不合法时抛出 |
| | | */ |
| | | void updateCompetition(Competition competition) throws BusinessException; |
| | | |
| | | |
| | | /** |
| | | * 获取赛事列表 |
| | | * |
| | | * @param content |
| | | * @param registerCondition |
| | | * @param heat |
| | |
| | | |
| | | /** |
| | | * 获取赛事详情 |
| | | * |
| | | * @param uid |
| | | * @param id |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * 赛事报名 |
| | | * |
| | | * @param uid |
| | | * @param paymentCompetitionVo |
| | | * @return |
| | |
| | | |
| | | /** |
| | | * 赛事可用课包 |
| | | * |
| | | * @param uid |
| | | * @param id |
| | | * @return |
| | |
| | | ResultUtil paymentCompetitionCourseList(Integer uid, Integer id); |
| | | |
| | | |
| | | void moneyOut() throws AlipayApiException; |
| | | } |