123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package beilv.competition.service;
- import beilv.competition.domain.Competition;
- 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);
- }
|