From 53696e317005ba4668fd1efc27cc49cbdfb8dbfb Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期一, 26 八月 2024 18:29:04 +0800 Subject: [PATCH] feat:图像资源 --- ycl-server/src/main/java/com/ycl/platform/service/IImageResourceSecurityService.java | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/service/IImageResourceSecurityService.java b/ycl-server/src/main/java/com/ycl/platform/service/IImageResourceSecurityService.java index 090586b..4303294 100644 --- a/ycl-server/src/main/java/com/ycl/platform/service/IImageResourceSecurityService.java +++ b/ycl-server/src/main/java/com/ycl/platform/service/IImageResourceSecurityService.java @@ -1,7 +1,10 @@ package com.ycl.platform.service; import com.ycl.platform.domain.entity.ImageResourceSecurity; +import jakarta.servlet.http.HttpServletResponse; +import org.springframework.web.multipart.MultipartFile; +import java.util.ArrayList; import java.util.List; /** @@ -59,4 +62,23 @@ * @return 缁撴灉 */ public int deleteImageResourceSecurityById(Long id); + + /** + * 瀵煎叆妯℃澘 + * @param response 鏂囦欢 + */ + void importTemplate(HttpServletResponse response); + + /** + * 瀵煎叆鏁版嵁 + * @param file 鏁版嵁 + * @return 缁撴灉 + */ + Boolean importData(MultipartFile file); + + /** + * 鎵归噺淇濆瓨 + * @param imageResourceSecurities 鏁版嵁闆嗗悎 + */ + void saveBatch(ArrayList<ImageResourceSecurity> imageResourceSecurities); } -- Gitblit v1.8.0