|
@@ -122,7 +122,7 @@ public class OrganizationController extends BaseController {
|
|
|
@GetMapping(value = "getImportTemplate")
|
|
|
@PreAuthorize("@pcs.hasPermissions('organization/getImportTemplate')")
|
|
|
public void getImportTemplate(HttpServletResponse response) throws IOException {
|
|
|
- InputStream inputStream = new ClassPathResource("organization.xls").getInputStream();
|
|
|
+ InputStream inputStream = new ClassPathResource("excelTemplate/organization.xls").getInputStream();
|
|
|
OutputStream outputStream = response.getOutputStream();
|
|
|
try {
|
|
|
response.setContentType("application/octet-stream");
|