1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- package beilv.competition.service;
- import beilv.competition.domain.Competition;
- import beilv.stadium.domain.Stadium;
- import java.util.List;
- /**
- * 赛事发布Service接口
- *
- * @author LG
- * @date 2024-12-31
- */
- public interface ICompetitionService {
- /**
- * 查询赛事发布
- *
- * @param id 赛事发布主键
- * @return 赛事发布
- */
- public Competition selectCompetitionById(Integer id);
- /**
- * 查询赛事发布列表
- *
- * @param competition 赛事发布
- * @return 赛事发布集合
- */
- public List<Competition> selectCompetitionList(Competition competition);
- /**
- * 新增赛事发布
- *
- * @param competition 赛事发布
- * @return 结果
- */
- public int insertCompetition(Competition competition);
- /**
- * 修改赛事发布
- *
- * @param competition 赛事发布
- * @return 结果
- */
- public int updateCompetition(Competition competition);
- /**
- * 批量删除赛事发布
- *
- * @param ids 需要删除的赛事发布主键集合
- * @return 结果
- */
- public int deleteCompetitionByIds(String ids);
- /**
- * 删除赛事发布信息
- *
- * @param id 赛事发布主键
- * @return 结果
- */
- public int deleteCompetitionById(Integer id);
- int publishCompetitionById(String id);
- int closeCompetitionById(String id);
- List<Competition> getCompetitionList();
- List<Stadium> getTakePartList(Integer id);
- }
|