fix bugs ค่าคะแนนเป็น string ต้อง convert เป็นตัวเลข

This commit is contained in:
Suphonchai Phoonsawat 2023-05-23 12:15:36 +07:00
parent 4c1c3f5da8
commit 4a0f02f145

View file

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