From 64efb660b2c119c00432434c0f651f8996483f18 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 21 二月 2025 15:51:13 +0800 Subject: [PATCH] OSD大华数据格式+数据中心重点标签统计数 --- ycl-server/src/main/java/com/ycl/platform/controller/ContractController.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/controller/ContractController.java b/ycl-server/src/main/java/com/ycl/platform/controller/ContractController.java index fedc6b1..fdc0114 100644 --- a/ycl-server/src/main/java/com/ycl/platform/controller/ContractController.java +++ b/ycl-server/src/main/java/com/ycl/platform/controller/ContractController.java @@ -17,10 +17,12 @@ import io.swagger.annotations.ApiOperation; import jakarta.servlet.http.HttpServletResponse; import lombok.AllArgsConstructor; +import org.glassfish.jaxb.core.v2.TODO; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; +import java.io.IOException; import java.util.List; /** @@ -78,6 +80,17 @@ } /** + * 鍚堝悓瀵煎叆瑙勫垯 + * + * @return 瀵煎叆缁撴灉 + */ + @Log(title = "鍚堝悓瀵煎叆", businessType = BusinessType.IMPORT) + @PreAuthorize("@ss.hasPermi('system:user:import')") + @PostMapping("/updateRule") + public AjaxResult importRule(TContract tContract) throws IOException { + return tContractService.importRule(tContract.getFile(), tContract); + } + /** * 鑾峰彇銆愯濉啓鍔熻兘鍚嶇О銆戣缁嗕俊鎭� */ @PreAuthorize("@ss.hasPermi('system:contract:query')") -- Gitblit v1.8.0