Browse Source

mmse单量表导出分数

sd
zhizhi wu 4 years ago
parent
commit
7e2e5f5e50
  1. 4
      ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java

4
ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java

@ -414,7 +414,7 @@ public class PatientReportVo {
PdfUtil.Cell titleCell = new PdfUtil.Cell(score.getName()); PdfUtil.Cell titleCell = new PdfUtil.Cell(score.getName());
titleRow.addCell(titleCell); titleRow.addCell(titleCell);
titleCell.setBorderRight(i == 6 ? 1 : 0); titleCell.setBorderRight(i == 6 ? 1 : 0);
PdfUtil.Cell scoreCell = new PdfUtil.Cell(score.score == null ? "" : score.score + (score.totalScore > 0 ? "/" + score.totalScore : "")); PdfUtil.Cell scoreCell = new PdfUtil.Cell((score.score == null ? "" : score.score) + (score.totalScore > 0 ? "/" + score.totalScore : ""));
scoreCell.setBorderRight(i == 6 ? 1 : 0); scoreCell.setBorderRight(i == 6 ? 1 : 0);
scoreRow.addCell(scoreCell); scoreRow.addCell(scoreCell);
@ -423,7 +423,7 @@ public class PatientReportVo {
titleTotalCell.setColSpan(3); titleTotalCell.setColSpan(3);
titleTotalCell.setBorderRight(1); titleTotalCell.setBorderRight(1);
titleRow.addCell(titleTotalCell); titleRow.addCell(titleTotalCell);
PdfUtil.Cell scoreTotalCell = new PdfUtil.Cell(this.score == null ? "" : this.score + (this.totalScore > 0 ? "/" + this.totalScore : "")); PdfUtil.Cell scoreTotalCell = new PdfUtil.Cell((this.score == null ? "" : this.score) + (this.totalScore > 0 ? "/" + this.totalScore : ""));
scoreTotalCell.setColSpan(3); scoreTotalCell.setColSpan(3);
scoreTotalCell.setBorderRight(1); scoreTotalCell.setBorderRight(1);
scoreRow.addCell(scoreTotalCell); scoreRow.addCell(scoreTotalCell);

Loading…
Cancel
Save