|
|
@ -469,13 +469,7 @@ public class PatientReportService implements IPatientReportService { |
|
|
|
|
|
|
|
List<PatientReportDto.Score> scores = adminQueryReport.getScores(); |
|
|
|
if (CollectionUtil.isNotEmpty(scores)) { |
|
|
|
Iterator<PatientReportDto.Score> iterator = scores.iterator(); |
|
|
|
while (iterator.hasNext()) { |
|
|
|
PatientReportDto.Score next = iterator.next(); |
|
|
|
if (next.getStart() == null && next.getEnd() == null) { |
|
|
|
iterator.remove(); |
|
|
|
} |
|
|
|
} |
|
|
|
scores.removeIf(next -> next.getStart() == null && next.getEnd() == null); |
|
|
|
} |
|
|
|
|
|
|
|
List<PatientReportVo.ReportName> reportNames = htPatientReportDao.queryAllReports(adminQueryReport); |
|
|
@ -681,7 +675,7 @@ public class PatientReportService implements IPatientReportService { |
|
|
|
initAnalyseTitle(rows, total); |
|
|
|
|
|
|
|
if (CollectionUtil.isEmpty(analyses)) { |
|
|
|
Workbook workbook = new XSSFWorkbook();; |
|
|
|
Workbook workbook = new XSSFWorkbook(); |
|
|
|
PoiUtil.exportWB("报告单详情", rows, workbook); |
|
|
|
return workbook; |
|
|
|
} |
|
|
@ -700,7 +694,7 @@ public class PatientReportService implements IPatientReportService { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Workbook workbook = new XSSFWorkbook();; |
|
|
|
Workbook workbook = new XSSFWorkbook(); |
|
|
|
PoiUtil.exportWB("报告单详情", rows, workbook); |
|
|
|
return workbook; |
|
|
|
} |
|
|
@ -1030,7 +1024,7 @@ public class PatientReportService implements IPatientReportService { |
|
|
|
int titleSpan = 2; |
|
|
|
PdfUtil.Cell initWordCell = addCell(row, "初步印象", titleSpan, 2); |
|
|
|
initWordCell.setHeight(PdfUtil.Cell.defaultHeight * 2); |
|
|
|
String initialImpression = reportPatient.getInitialImpression(); |
|
|
|
// String initialImpression = reportPatient.getInitialImpression();
|
|
|
|
PdfUtil.Cell initImplCell = addCell(row, "", colNum - titleSpan, 2); |
|
|
|
initImplCell.setHeight(PdfUtil.Cell.defaultHeight * 2); |
|
|
|
initImplCell.setBorderRight(1); |
|
|
@ -1039,6 +1033,8 @@ public class PatientReportService implements IPatientReportService { |
|
|
|
|
|
|
|
PdfUtil.Row tempRow = new PdfUtil.Row(); |
|
|
|
PdfUtil.Cell cell = addCell(tempRow, "仅供临床医生参考。", colNum, 1); |
|
|
|
tempRow.addCell(cell); |
|
|
|
content.add(tempRow); |
|
|
|
initLast(content, colNum); |
|
|
|
return scores; |
|
|
|
} |
|
|
|