fix จำนวนผู้ที่สอบผ่าน
This commit is contained in:
parent
9f0b6039c1
commit
eec8eef4d6
1 changed files with 1 additions and 2 deletions
|
|
@ -709,8 +709,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
||||||
ImportYear = x.ScoreImport.Year,
|
ImportYear = x.ScoreImport.Year,
|
||||||
ImportDate = x.CreatedAt.Date.ToThaiShortDate(),
|
ImportDate = x.CreatedAt.Date.ToThaiShortDate(),
|
||||||
ScoreCount = x.ScoreImport.Scores.Count(),
|
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))
|
||||||
ResultCount = x.ScoreImport.Scores.Count(x => x.ExamStatus == "ผ่าน")
|
|
||||||
},
|
},
|
||||||
x.CreatedUserId,
|
x.CreatedUserId,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue