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 })