|
@@ -221,7 +221,7 @@ public class BaseRailwayManagementController extends BaseController {
|
|
|
@GetMapping("/downloaExcel")
|
|
|
public void downloadZip(HttpServletResponse response) {
|
|
|
try {
|
|
|
- InputStream resourceAsStream = this.getClass().getResourceAsStream("/baseRailwayManagement.xlsx");
|
|
|
+ InputStream resourceAsStream = this.getClass().getResourceAsStream("/template/baseRailwayManagement.xlsx");
|
|
|
response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE);
|
|
|
FileUtils.setAttachmentResponseHeader(response, "线路管理表信息导入模板.xlsx");
|
|
|
FileUtils.writeBytesByInput(resourceAsStream, response.getOutputStream());
|