Browse Source

修改下载变更记录模板接口

fengyanjie 3 years ago
parent
commit
0537748e15

+ 1 - 1
dmp-rwd-edit/src/main/java/com/persagy/dmp/rwd/edit/controller/DownloadController.java

@@ -42,7 +42,7 @@ public class DownloadController {
     @GetMapping("/download")
     private void download(@RequestParam String type, HttpServletRequest req, HttpServletResponse resp) throws Exception {
         //读取文件
-        InputStream resourceAsStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("siatic/file/批量上传变更记录模板.xlsx");
+        InputStream resourceAsStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("siatic/file/批量上传变更记录模板2.xlsx");
         String fileName = "批量上传变更记录模板.xlsx";
         InputStream inputStream = new BufferedInputStream(resourceAsStream);
 //        @SuppressWarnings("resource")