From 7e2e5f5e5025b8c8901ba9d0e7670d6df9d17f7c Mon Sep 17 00:00:00 2001 From: zhizhi wu <2377881365@qq.com> Date: Fri, 5 Nov 2021 15:22:06 +0800 Subject: [PATCH] =?UTF-8?q?mmse=E5=8D=95=E9=87=8F=E8=A1=A8=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=88=86=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ht/src/main/java/com/ccsens/ht/bean/vo/PatientReportVo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);