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 | 56 +++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 39 insertions(+), 17 deletions(-) diff --git a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java index dbcb798..b0d1035 100644 --- a/smartor/src/main/java/com/smartor/service/IPatArchiveService.java +++ b/smartor/src/main/java/com/smartor/service/IPatArchiveService.java @@ -1,27 +1,33 @@ 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 ruoyi - * @date 2023-02-22 + * + * @author smartor + * @date 2023-03-04 */ -public interface IPatArchiveService -{ +public interface IPatArchiveService { /** * 鏌ヨ鎮h�呮。妗� - * - * @param PatID 鎮h�呮。妗堜富閿� + * + * @param patid 鎮h�呮。妗堜富閿� * @return 鎮h�呮。妗� */ - public PatArchive selectPatArchiveByPatID(Long PatID); + public PatArchive selectPatArchiveByPatid(Long patid); /** * 鏌ヨ鎮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,17 +51,33 @@ /** * 鎵归噺鍒犻櫎鎮h�呮。妗� - * - * @param PatIDs 闇�瑕佸垹闄ょ殑鎮h�呮。妗堜富閿泦鍚� + * + * @param patids 闇�瑕佸垹闄ょ殑鎮h�呮。妗堜富閿泦鍚� * @return 缁撴灉 */ - public int deletePatArchiveByPatIDs(Long[] PatIDs); + public int deletePatArchiveByPatids(Long[] patids); /** * 鍒犻櫎鎮h�呮。妗堜俊鎭� - * - * @param PatID 鎮h�呮。妗堜富閿� + * + * @param patid 鎮h�呮。妗堜富閿� * @return 缁撴灉 */ - public int deletePatArchiveByPatID(Long PatID); + 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