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/ThCourseChapterService.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThCourseChapterService.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThCourseChapterService.java index edfe1ec..706fa59 100644 --- a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThCourseChapterService.java +++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThCourseChapterService.java @@ -3,6 +3,9 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.gkhy.exam.institutionalaccess.entity.ThCourseChapter; import com.gkhy.exam.institutionalaccess.model.vo.ThCourseChapterVO; +import com.gkhy.exam.institutionalaccess.model.vo.ThStatisticStudentVO; +import org.springframework.scheduling.annotation.Async; + import java.util.List; public interface ThCourseChapterService extends IService<ThCourseChapter> { @@ -14,4 +17,12 @@ ThCourseChapter getByUuid(String batchUuid); + List<ThCourseChapter> getByUuids(List<String> reqAllChapterIds); + + //@Async("SocketTaskExecutor") + Integer insertBatch(List<ThCourseChapter> courseChapterList); + //@Async("SocketTaskExecutor") + Integer updateBatch(List<ThCourseChapter> courseChapterList); + + List<ThCourseChapter> getChapterNameByUuids(List<String> chapterUuids); } -- Gitblit v1.9.2