package com.gkhy.exam.institutionalaccess.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gkhy.exam.institutionalaccess.entity.ThStudentBatch; import com.gkhy.exam.institutionalaccess.model.query.ThStatisticQuery; import com.gkhy.exam.institutionalaccess.model.vo.*; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository public interface ThStudentBatchMapper extends BaseMapper { List statisticByBatchUuid(); List statisticByCourseUuid(); List getStudentBatchCourseVOByBatchUuid(@Param("batchUuid") String batchUuid); void updateByBatchUuid(@Param("batchUuid")String batchUuid); void updateFinishStatusByBatchUuid(@Param("batchUuid")String batchUuid); Integer insertBatch(@Param("list") List saveThStudentBatchList); Integer updateBatch(@Param("list") List updateThStudentBatchList); List getStudentBatchVOByBatchUuid(@Param("batchUuid") String batchUuid); List getByIdCards(@Param("idcards") List idcards); List getStudentBatchVOByCourseUuid(@Param("courseUuid") String courseUuid); List getStatistic(@Param("query") ThStatisticQuery thStatisticQuery); List getStatisticHaveExam(@Param("query") ThStatisticQuery thStatisticQuery); }