Commit bd7d38a38071c7fa17458607fb84601b0c0dc0e9

Authored by liquanyu
1 parent 73f648beaf

助产机构报表

Showing 1 changed file with 3 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MatDeliverFacade.java View file @ bd7d38a
... ... @@ -2636,8 +2636,9 @@
2636 2636  
2637 2637 httpServletResponse.setContentType("application/force-download");
2638 2638 httpServletResponse.setHeader("Content-Disposition", "attachment;filename=" + new String(("助产机构报表.xls").getBytes("UTF-8"), "ISO-8859-1"));
2639   - String path = this.getClass().getResource("/").getPath();
2640   - ExcelUtil.writeExclFile(path + "\\due_org_report.xls", httpServletResponse.getOutputStream(), areaNames,"成都市","成都取",time,list);
  2639 + String path = this.getClass().getResource("/").getPath()+ "\\due_org_report.xls";
  2640 + System.out.println(path);
  2641 + ExcelUtil.writeExclFile(path , httpServletResponse.getOutputStream(), areaNames,"成都市","成都取",time,list);
2641 2642 } catch (IOException e) {
2642 2643 ExceptionUtils.catchException(e, "exporDueOrgCount error");
2643 2644 }