Commit a150a5e161ada7deb061d125e4d8ef3681c65ef4
1 parent
174fba33
模板下载动态赋值单位下拉选
Showing
1 changed file
with
1 additions
and
2 deletions
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/controller/admin/costfee/CostFeeController.java
| @@ -75,7 +75,6 @@ public class CostFeeController{ | @@ -75,7 +75,6 @@ public class CostFeeController{ | ||
| 75 | */ | 75 | */ |
| 76 | @GetMapping("/get-import-template") | 76 | @GetMapping("/get-import-template") |
| 77 | @Operation(summary = "获得导入用户模板") | 77 | @Operation(summary = "获得导入用户模板") |
| 78 | - @PermitAll | ||
| 79 | public void importTemplate(HttpServletResponse response, | 78 | public void importTemplate(HttpServletResponse response, |
| 80 | @RequestParam("templateName") String templateName) throws IOException { | 79 | @RequestParam("templateName") String templateName) throws IOException { |
| 81 | // 参数校验 | 80 | // 参数校验 |
| @@ -94,7 +93,7 @@ public class CostFeeController{ | @@ -94,7 +93,7 @@ public class CostFeeController{ | ||
| 94 | writeAndModifyTemplate(response, template.getName(), template.getStartIndex()); | 93 | writeAndModifyTemplate(response, template.getName(), template.getStartIndex()); |
| 95 | } | 94 | } |
| 96 | 95 | ||
| 97 | - private void writeAndModifyTemplate(HttpServletResponse response, | 96 | + private void writeAndModifyTemplate(HttpServletResponse response, |
| 98 | String downloadFileName, | 97 | String downloadFileName, |
| 99 | int startIndexRow) throws IOException { | 98 | int startIndexRow) throws IOException { |
| 100 | 99 |