教育训练处考试制证系统后端
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
39
package com.gkhy.exam.institutionalaccess.service;
 
 
import com.baomidou.mybatisplus.extension.service.IService;
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.springframework.scheduling.annotation.Async;
 
import java.util.List;
 
public interface ThStudentBatchService extends IService<ThStudentBatch> {
    List<ThStudentBatch> getByIdCards(List<String> idcards);
    List<ThStatisticStudentVO> statisticByBatchUuid();
 
    List<ThStudentBatch> listByInstitutionId(Long id);
 
    List<ThStatisticStudentVO> statisticByCourseUuid();
 
    List<ThStudentBatchCourseVO> getStudentBatchCourseVOByBatchUuid(String batchUuid);
 
    void updateByBatchUuid(String batchUuid);
 
    ThStudentBatch getByIdcardAndBatchUuid(String idcard, String batchUuid);
 
    List<ThStudentBatch> getByBatchUuid(String batchUuid);
 
    void updateFinishStatusByBatchUuid(String batchUuid);
    //@Async("SocketTaskExecutor")
    Integer insertBatch(List<ThStudentBatch> saveThStudentBatchList);
    //@Async("SocketTaskExecutor")
    Integer updateBatch(List<ThStudentBatch> updateThStudentBatchList);
 
    List<ThStudentBatchVO> getStudentBatchVOByBatchUuid(String batchUuid);
 
    List<ThStudentBatchVO> getStudentBatchVOByCourseUuid(String courseUuid);
}