|
@@ -966,10 +966,11 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
throw new CommonException(CommonErrorCode.PARAM_ERROR, "统计区间不能大于7天");
|
|
|
}
|
|
|
|
|
|
+ exportQcresultVO.setLeaveHosDateEnd(DateUtil.getFirstTimeOfDay(DateUtil.addDay(endDate, 1)));
|
|
|
List<ExportExcelDTO> res = this.exportQcresult(exportQcresultVO);
|
|
|
String fileName = dateFormat.format(startDate) + "-" + dateFormat.format(endDate) + "抽查住院病历质量情况.xls";
|
|
|
response.setContentType("text/html;charset=UTF-8");
|
|
|
- ExcelUtils.exportExcel(res, null, "导出sheet1", ExportExcelDTO.class, fileName, response);
|
|
|
+ ExcelUtils.exportExcelUser(res, null, "sheet1", ExportExcelDTO.class, fileName, response);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -994,10 +995,10 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
if (endDate.getTime() - startDate.getTime() > interval) {
|
|
|
throw new CommonException(CommonErrorCode.PARAM_ERROR, "统计区间不能大于7天");
|
|
|
}
|
|
|
-
|
|
|
+ exportQcresultVO.setLeaveHosDateEnd(DateUtil.getFirstTimeOfDay(DateUtil.addDay(endDate, 1)));
|
|
|
List<ExportExcelDTO> res = this.exportQcresultByDept(exportQcresultVO);
|
|
|
String fileName = dateFormat.format(startDate) + "-" + dateFormat.format(endDate) + "抽查住院病历质量情况.xls";
|
|
|
response.setContentType("text/html;charset=UTF-8");
|
|
|
- ExcelUtils.exportExcel(res, null, "导出sheet1", ExportExcelDTO.class, fileName, response);
|
|
|
+ ExcelUtils.exportExcelUser(res, null, "sheet1", ExportExcelDTO.class, fileName, response);
|
|
|
}
|
|
|
}
|