From 2d02dee9812ff906c0a5db97a5d04154bf54fa3f Mon Sep 17 00:00:00 2001
From: futian.liu <liufutianyoo@163.com>
Date: 星期三, 13 十二月 2023 17:39:58 +0800
Subject: [PATCH] 修改用户角色关联

---
 consum-base/src/main/java/com/consum/base/controller/LWhWarningConfigController.java |   33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/consum-base/src/main/java/com/consum/base/controller/LWhWarningConfigController.java b/consum-base/src/main/java/com/consum/base/controller/LWhWarningConfigController.java
index bb83f02..6bd3d9e 100644
--- a/consum-base/src/main/java/com/consum/base/controller/LWhWarningConfigController.java
+++ b/consum-base/src/main/java/com/consum/base/controller/LWhWarningConfigController.java
@@ -11,7 +11,7 @@
 import com.consum.base.pojo.WarnConfImEntity;
 import com.consum.base.pojo.WhWarningConfigParam;
 import com.consum.base.pojo.query.WhWarningConfigQry;
-import com.consum.base.service.BaseWarehouseServiceImpl;
+import com.consum.base.service.BaseWarehouseService;
 import com.consum.base.service.LWhWarningConfigServiceImpl;
 import com.consum.model.po.BaseWarehouse;
 import com.consum.model.po.FinSysTenantUser;
@@ -23,18 +23,6 @@
 import com.walker.web.ResponseCode;
 import com.walker.web.ResponseValue;
 import io.swagger.annotations.Api;
-import org.apache.commons.lang3.StringUtils;
-import org.springframework.core.io.ClassPathResource;
-import org.springframework.core.io.InputStreamResource;
-import org.springframework.http.HttpHeaders;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.MediaType;
-import org.springframework.http.ResponseEntity;
-import org.springframework.util.CollectionUtils;
-import org.springframework.web.bind.annotation.*;
-import org.springframework.web.multipart.MultipartFile;
-
-import javax.annotation.Resource;
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 import java.io.InputStream;
@@ -44,6 +32,21 @@
 import java.util.List;
 import java.util.Map;
 import java.util.stream.Collectors;
+import javax.annotation.Resource;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.core.io.ClassPathResource;
+import org.springframework.core.io.InputStreamResource;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.MediaType;
+import org.springframework.http.ResponseEntity;
+import org.springframework.util.CollectionUtils;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.multipart.MultipartFile;
 
 /**
  * @ClassName LWhWarningConfigController
@@ -60,7 +63,7 @@
     @Resource
     private LWhWarningConfigServiceImpl lWhWarningConfigService;
     @Resource
-    private BaseWarehouseServiceImpl baseWarehouseService;
+    private BaseWarehouseService baseWarehouseService;
     private ObjectMapper mapper = new ObjectMapper();
 
     /**
@@ -223,7 +226,7 @@
      * @return 鑾峰彇椤圭洰瀵煎叆鐨勬ā鏉�
      * @throws IOException
      */
-    @PostMapping("getWarnConfImportTemplate")
+    @GetMapping("getWarnConfImportTemplate")
     public ResponseEntity<InputStreamResource> getProjectImportTemplate() throws IOException {
         // 浠庡綋鍓嶉」鐩祫婧愮洰褰曡幏鍙栨枃浠�
         org.springframework.core.io.Resource resource = new ClassPathResource("import/warningConfImp.xls");

--
Gitblit v1.9.1