package com.sdut.labex.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdut.labex.dto.ExperimentDTO;
import com.sdut.labex.entity.SubmitRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author springforest
 * @description 针对表【submit_records(实验提交记录)】的数据库操作Mapper
 * @createDate 2023-06-21 11:01:21
 * @Entity com.sdut.labex.entity.SubmitRecords
 */
@Mapper
public interface SubmitRecordsMapper extends BaseMapper<SubmitRecord> {
    Page<SubmitRecord> selectPageForCheck(Page<SubmitRecord> page, SubmitRecord submitRecord);

    Page<ExperimentDTO> selectPageST(Page<ExperimentDTO> page, String className, String studentId, String applyUser);

    void insertBatch(List<SubmitRecord> submitRecordList);
}




