Showing
2 changed files
with
1 additions
and
1 deletions
... | ... | @@ -355,7 +355,7 @@ public class ThingsModelController extends BaseController { |
355 | 355 | @GetMapping("/downloadTemplate") |
356 | 356 | @ApiOperation("excel模板下载") |
357 | 357 | public ResponseEntity<Resource> downloadTemplate() throws IOException { |
358 | - InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("template"+ File.separator +"moban.xls"); | |
358 | + InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("template"+ File.separator +"template.xls"); | |
359 | 359 | if(inputStream!=null){ |
360 | 360 | HttpHeaders headers = new HttpHeaders(); |
361 | 361 | headers.add(HttpHeaders.CONTENT_DISPOSITION,"attachment;filename=物模型属性导入模板.xls"); | ... | ... |
No preview for this file type