package com.lesingle.creation.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lesingle.creation.entity.ContestWorkAssignment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 竞赛作品评审分配 Mapper 接口
 */
@Mapper
public interface ContestWorkAssignmentMapper extends BaseMapper<ContestWorkAssignment> {

    /**
     * 分页查询竞赛作品评审分配
     *
     * @param page 分页对象
     * @param wrapper 查询条件
     * @return 分页结果
     */
    Page<ContestWorkAssignment> page(@Param("page") Page<ContestWorkAssignment> page, @Param(Constants.WRAPPER) Wrapper<ContestWorkAssignment> wrapper);
}
