Blame view

MatchDictMapper.java 559 Bytes
涂亚平 committed
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
package com.subsidy.mapper;

import com.subsidy.model.MatchDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 赛事年份管理 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2025-01-07
 */
@Repository
public interface MatchDictMapper extends BaseMapper<MatchDictDO> {

    List<MatchDictDO> matches(String matchName);

    /**
     * 关闭赛事
     */
    void closeMatch();

    /**
     * 开启赛事
     */
    void openMatch(Long matchId);
}