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.query.ThStatisticQuery;
|
import com.gkhy.exam.institutionalaccess.model.vo.*;
|
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);
|
|
List<ThTrainVO> getStatistic(ThStatisticQuery thStatisticQuery);
|
|
List<ThTrainVO> getStatisticHaveExam(ThStatisticQuery thStatisticQuery);
|
}
|