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

diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThBatchCourseMapper.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThBatchCourseMapper.java
new file mode 100644
index 0000000..5d5b7ac
--- /dev/null
+++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/mapper/ThBatchCourseMapper.java
@@ -0,0 +1,27 @@
+package com.gkhy.exam.institutionalaccess.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.gkhy.exam.institutionalaccess.entity.ThBatchCourse;
+import com.gkhy.exam.institutionalaccess.model.vo.ThBatchCourseVO;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+
+@Repository
+@Mapper
+public interface ThBatchCourseMapper extends BaseMapper<ThBatchCourse> {
+    void deleteByBatchUuidAndCourseUuid(@Param("list") List<ThBatchCourse> deleteBatchCourseList);
+
+
+    List<ThBatchCourseVO> getListByBatchUuid(@Param("batchUuid")String batchUuid);
+
+    void deleteByBatchUuid(@Param("batchUuid")String batchUuid);
+
+    List<ThBatchCourse> getByBatchUuids(@Param("batchUuids") List<String> batchUuids);
+
+    Integer insertBatch(@Param("courseList") List<ThBatchCourse> courseList);
+
+    Integer updateBatch(@Param("courseList") List<ThBatchCourse> courseList);
+}

--
Gitblit v1.9.2