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 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 getCompetitionList(); List getTakePartList(Integer id); }