From 790c2ba4a0b46edf191e3bac84931f796bd42b8f Mon Sep 17 00:00:00 2001 From: zhangf <1603559716@qq.com> Date: 星期三, 24 七月 2024 09:02:49 +0800 Subject: [PATCH] 三方对接接口优化 --- exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentBatchService.java | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentBatchService.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentBatchService.java new file mode 100644 index 0000000..6ad88d4 --- /dev/null +++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThStudentBatchService.java @@ -0,0 +1,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); +} -- Gitblit v1.9.2