ProjectJudgeMapper.java 904 Bytes
package com.subsidy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.subsidy.model.ProjectJudgeDO;
import com.subsidy.vo.judge.ProjectJudgePageVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 项目评审员 Mapper 接口
 * </p>
 *
 * @author DengMin
 * @since 2021-05-28
 */
@Repository
public interface ProjectJudgeMapper extends BaseMapper<ProjectJudgeDO> {

    IPage<ProjectJudgePageVO> getProjectJudgePage(Page page, String username, Integer status);

    IPage<ProjectJudgePageVO> projectJudgesAssigned(Page page, @Param("matchId") Long matchId, @Param("projectGroup") String projectGroup, @Param("projectSchedule") String projectSchedule);

    Integer projectCount(Long judgeId);

}