From 196829a351cac0c7504a16e314c6f1169d1149e7 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 13 六月 2023 10:19:54 +0800
Subject: [PATCH] 批量上传题库
---
smartor/src/main/java/com/smartor/service/IPatArchiveService.java | 42 ++++++++++++++++++++++++++++++++----------
1 files changed, 32 insertions(+), 10 deletions(-)
diff --git a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java
index 6b77d52..b0d1035 100644
--- a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java
+++ b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java
@@ -1,19 +1,25 @@
package com.smartor.service;
import java.util.List;
+
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.core.domain.entity.SysUser;
import com.smartor.domain.PatArchive;
+import com.smartor.domain.PatUpInfoVO;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.multipart.MultipartFile;
/**
* 鎮h�呮。妗圫ervice鎺ュ彛
- *
+ *
* @author smartor
- * @date 2023-03-01
+ * @date 2023-03-04
*/
-public interface IPatArchiveService
-{
+public interface IPatArchiveService {
/**
* 鏌ヨ鎮h�呮。妗�
- *
+ *
* @param patid 鎮h�呮。妗堜富閿�
* @return 鎮h�呮。妗�
*/
@@ -21,7 +27,7 @@
/**
* 鏌ヨ鎮h�呮。妗堝垪琛�
- *
+ *
* @param patArchive 鎮h�呮。妗�
* @return 鎮h�呮。妗堥泦鍚�
*/
@@ -29,7 +35,7 @@
/**
* 鏂板鎮h�呮。妗�
- *
+ *
* @param patArchive 鎮h�呮。妗�
* @return 缁撴灉
*/
@@ -37,7 +43,7 @@
/**
* 淇敼鎮h�呮。妗�
- *
+ *
* @param patArchive 鎮h�呮。妗�
* @return 缁撴灉
*/
@@ -45,7 +51,7 @@
/**
* 鎵归噺鍒犻櫎鎮h�呮。妗�
- *
+ *
* @param patids 闇�瑕佸垹闄ょ殑鎮h�呮。妗堜富閿泦鍚�
* @return 缁撴灉
*/
@@ -53,9 +59,25 @@
/**
* 鍒犻櫎鎮h�呮。妗堜俊鎭�
- *
+ *
* @param patid 鎮h�呮。妗堜富閿�
* @return 缁撴灉
*/
public int deletePatArchiveByPatid(Long patid);
+
+ /**
+ * 鎮h�呬俊鎭壒閲忔彃鍏�
+ *
+ * @param tags
+ * @param file
+ */
+ public PatUpInfoVO importFilehandle(SysUser user,String tags, MultipartFile file);
+
+ /**
+ * 瀵煎嚭鎮h�呴敊璇俊鎭�
+ *
+ * @param patArchiveList
+ * @return
+ */
+ public String exportErrPatInfo(List<PatArchive> patArchiveList);
}
--
Gitblit v1.9.3