zhangf
2024-07-24 790c2ba4a0b46edf191e3bac84931f796bd42b8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.vo.ThStatisticStudentVO;
import com.gkhy.exam.institutionalaccess.model.vo.ThStudentBatchCourseVO;
import com.gkhy.exam.institutionalaccess.model.vo.ThStudentBatchVO;
import com.gkhy.exam.institutionalaccess.model.vo.ThStudentCourseVO;
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<ThStudentBatch> {
 
    List<ThStatisticStudentVO> statisticByBatchUuid();
 
    List<ThStatisticStudentVO> statisticByCourseUuid();
 
    List<ThStudentBatchCourseVO> getStudentBatchCourseVOByBatchUuid(@Param("batchUuid") String batchUuid);
 
    void updateByBatchUuid(@Param("batchUuid")String batchUuid);
 
    void updateFinishStatusByBatchUuid(@Param("batchUuid")String batchUuid);
 
    Integer insertBatch(@Param("list") List<ThStudentBatch> saveThStudentBatchList);
 
    Integer updateBatch(@Param("list") List<ThStudentBatch> updateThStudentBatchList);
 
    List<ThStudentBatchVO> getStudentBatchVOByBatchUuid(@Param("batchUuid") String batchUuid);
 
    List<ThStudentBatch> getByIdCards(@Param("idcards") List<String> idcards);
 
    List<ThStudentBatchVO> getStudentBatchVOByCourseUuid(@Param("courseUuid") String courseUuid);
}