|
@@ -17,6 +17,7 @@ import com.diagbot.dto.LevelStatisticsDTO;
|
|
|
import com.diagbot.dto.LevelStatisticsTZDTO;
|
|
|
import com.diagbot.dto.NumDTO;
|
|
|
import com.diagbot.dto.QcResultPercentDTO;
|
|
|
+import com.diagbot.dto.ReBeHosDTO;
|
|
|
import com.diagbot.dto.UnModifyMRDTO;
|
|
|
import com.diagbot.entity.SysHospitalSet;
|
|
|
import com.diagbot.exception.CommonErrorCode;
|
|
@@ -32,6 +33,7 @@ import com.diagbot.vo.FilterPageByAverageVO;
|
|
|
import com.diagbot.vo.FilterPageVO;
|
|
|
import com.diagbot.vo.FilterUnModifyMRVO;
|
|
|
import com.diagbot.vo.QcResultShortPageVO;
|
|
|
+import com.diagbot.vo.ReBeHosPageVO;
|
|
|
import com.google.common.collect.Lists;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
@@ -333,7 +335,7 @@ public class ConsoleExportFacade {
|
|
|
|
|
|
List<String> columnSet = Arrays.asList(hospitalSet.getValue().split(","));
|
|
|
for (String valueStr : columnSet) {
|
|
|
- if(StringUtil.isBlank(valueStr)){
|
|
|
+ if (StringUtil.isBlank(valueStr)) {
|
|
|
continue;
|
|
|
}
|
|
|
String[] keyValue = valueStr.split("--");
|
|
@@ -351,4 +353,20 @@ public class ConsoleExportFacade {
|
|
|
String fileName = "未整改病历统计.xls";
|
|
|
ExcelUtils.exportExcelDynamicCol(colList, data, null, "sheet1", fileName, response);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 31天再入院统计导出
|
|
|
+ *
|
|
|
+ * @param reBeHosPageVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public void reHos31DaysPageExport(HttpServletResponse response, ReBeHosPageVO reBeHosPageVO) {
|
|
|
+ reBeHosPageVO.setCurrent(1L);
|
|
|
+ reBeHosPageVO.setSize(Long.MAX_VALUE);
|
|
|
+ reBeHosPageVO.setSearchCount(false);
|
|
|
+ IPage<ReBeHosDTO> page = consoleFacade.reHos31DaysPage(reBeHosPageVO);
|
|
|
+ List<ReBeHosDTO> records = page.getRecords();
|
|
|
+ String fileName = "31天再入院统计详情.xls";
|
|
|
+ ExcelUtils.exportExcel(records, null, "sheet1", ReBeHosDTO.class, fileName, response);
|
|
|
+ }
|
|
|
}
|