diff --git a/ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java b/ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java index f788933e..05abe766 100644 --- a/ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java +++ b/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()); titleRow.addCell(titleCell); 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); scoreRow.addCell(scoreCell); @@ -423,7 +423,7 @@ public class PatientReportVo { titleTotalCell.setColSpan(3); titleTotalCell.setBorderRight(1); 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.setBorderRight(1); scoreRow.addCell(scoreTotalCell);