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/ThBatchCourseService.java |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchCourseService.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchCourseService.java
new file mode 100644
index 0000000..184071e
--- /dev/null
+++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchCourseService.java
@@ -0,0 +1,31 @@
+package com.gkhy.exam.institutionalaccess.service;
+
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.gkhy.exam.institutionalaccess.entity.ThBatchCourse;
+import com.gkhy.exam.institutionalaccess.model.vo.ThBatchCourseVO;
+import org.springframework.scheduling.annotation.Async;
+
+import java.util.List;
+
+public interface ThBatchCourseService extends IService<ThBatchCourse> {
+    List<ThBatchCourse> getByBatchUuid(String batchUuid);
+    List<String> getCourseUuisByBatchUuid(String batchUuid);
+
+    void deleteByBatchUuidAndCourseUuid(List<ThBatchCourse> deleteBatchCourseList);
+
+
+    List<ThBatchCourse> getListByBatchUuids(List<String> batchUuids);
+
+    List<ThBatchCourseVO> getListByBatchUuid(String batchUuid);
+
+    boolean isExsit(String courseUuid);
+
+    List<ThBatchCourse> listByInstitutionId(Long InstitutionId);
+
+    void deleteByBatchUuid(String batchUuid);
+    //@Async("SocketTaskExecutor")
+    Integer insertBatch(List<ThBatchCourse> courseList);
+    //@Async("SocketTaskExecutor")
+    Integer updateBatch(List<ThBatchCourse> courseList);
+}

--
Gitblit v1.9.2