|
@@ -39,7 +39,6 @@ public class DownloadController {
|
|
|
private void download(@RequestParam String type, HttpServletResponse response) throws Exception {
|
|
|
//读取文件
|
|
|
InputStream resourceAsStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("file/批量上传变更记录模板.xlsx");
|
|
|
- logger.info(resourceAsStream + "------------------------------------");
|
|
|
InputStream fis = new BufferedInputStream(resourceAsStream);
|
|
|
byte[] buffer = new byte[fis.available()];
|
|
|
fis.read(buffer);
|