From 790c2ba4a0b46edf191e3bac84931f796bd42b8f Mon Sep 17 00:00:00 2001
From: zhangf <1603559716@qq.com>
Date: Wed, 24 Jul 2024 09:02:49 +0800
Subject: [PATCH] 三方对接接口优化
---
exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchService.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchService.java b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchService.java
index 1dad1fc..25472e4 100644
--- a/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchService.java
+++ b/exam-system/src/main/java/com/gkhy/exam/institutionalaccess/service/ThBatchService.java
@@ -4,6 +4,7 @@
import com.gkhy.exam.institutionalaccess.entity.ThBatch;
import com.gkhy.exam.institutionalaccess.model.query.ThBatchQuery;
import com.gkhy.exam.institutionalaccess.model.vo.ThBatchVO;
+import org.springframework.scheduling.annotation.Async;
import java.util.List;
@@ -13,4 +14,13 @@
List<ThBatch> listByInstitutionId(Long institutionId);
List<ThBatchVO> listByPage(ThBatchQuery query);
+
+ List<ThBatch> getByUuids(List<String> batchUuids);
+
+ //@Async("SocketTaskExecutor")
+ Integer insertBatch(List<ThBatch> batchList);
+ //@Async("SocketTaskExecutor")
+ Integer updateBatch(List<ThBatch> batchList);
+
+ List<ThBatch> getBatchNameByUuids(List<String> batchUuids);
}
--
Gitblit v1.9.2