fix แสดงจำนวนผู้ที่สอบผ่าน
All checks were successful
Build & Deploy on Dev / build (push) Successful in 57s

This commit is contained in:
harid 2026-07-02 13:30:12 +07:00
parent b5567b5459
commit 67253337a9

View file

@ -689,7 +689,7 @@ namespace BMA.EHR.Recruit.Controllers
ImportYear = x.ScoreImport.Year,
ImportDate = x.CreatedAt.Date.ToThaiShortDate(),
ScoreCount = x.ScoreImport.Scores.Count(),
ResultCount = x.ScoreImport.Scores.Count(x => !string.IsNullOrEmpty(x.Number))
ResultCount = x.ScoreImport.Scores.Count(x => x.ExamStatus == "ผ่าน" && !string.IsNullOrEmpty(x.Number))
},
x.CreatedUserId,
})