From 4a0f02f1455fc8a3c37f22a6c88f40cc95c17a82 Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Tue, 23 May 2023 12:15:36 +0700 Subject: [PATCH] =?UTF-8?q?fix=20bugs=20=E0=B8=84=E0=B9=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=84=E0=B8=B0=E0=B9=81=E0=B8=99=E0=B8=99=E0=B9=80=E0=B8=9B?= =?UTF-8?q?=E0=B9=87=E0=B8=99=20string=20=E0=B8=95=E0=B9=89=E0=B8=AD?= =?UTF-8?q?=E0=B8=87=20convert=20=E0=B9=80=E0=B8=9B=E0=B9=87=E0=B8=99?= =?UTF-8?q?=E0=B8=95=E0=B8=B1=E0=B8=A7=E0=B9=80=E0=B8=A5=E0=B8=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Controllers/ExamReportController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/ExamReportController.cs b/Controllers/ExamReportController.cs index 8c69929..e4734b9 100644 --- a/Controllers/ExamReportController.cs +++ b/Controllers/ExamReportController.cs @@ -475,7 +475,7 @@ namespace BMA.EHR.Report.Service.Controllers SumB = p.PointB, FullC = p.PointTotalC, SumC = p.PointC, - SumScore = p.PointB + p.PointC, + SumScore = Convert.ToInt32(p.PointB ?? "0") + Convert.ToInt32(p.PointC ?? "0"), ExamResult = p.Pass })