From 84d1db0005eb9567810e1229636357d2a994d944 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 02 九月 2024 10:34:48 +0800
Subject: [PATCH] 报备功能优化
---
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