DrawLotsGroupJudgesMapper.java 1.32 KB
package com.subsidy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.model.DrawLotGroupDictDO;
import com.subsidy.model.DrawLotsGroupJudgesDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.model.DrawLotsScenesDO;
import com.subsidy.vo.group.MatchJudgesVO;
import com.subsidy.vo.group.ScoreScreenVO;
import com.subsidy.vo.group.SelectJudgesVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 赛组评委表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2025-12-10
 */
 @Repository
public interface DrawLotsGroupJudgesMapper extends BaseMapper<DrawLotsGroupJudgesDO> {

     IPage<MatchJudgesVO> matchJudges(IPage page, Long sceneId, String userName, String expectorType, String roleType);

     /**
      * 选择评委
      */
     IPage<SelectJudgesVO> selectJudges(IPage page, Long sceneId, String userName);

     List<ScoreScreenVO> judgeScoreScreen(Long groupId, Integer groupNum);

     /**
      * 查看老师所在的组别
      */
     List<DrawLotsScenesDO> judgeScenes(Long judgeId);

     /**
      * 查看老师所在的组别
      */
     List<DrawLotGroupDictDO> judgeGroups(Long judgeId,Long sceneId);

     void clearGroup(Long judgeId);

     void setGroup(Long judgeId,Long groupId);

     Integer judgeCnt(Long sceneId);
}